Lines Matching defs:pipefd
142 int pipefd[2]; /* Inter thread communication */
221 if (write(data->pipefd[1], &c, 1) < 0)
313 if (data->pipefd[0] > 0)
314 close(data->pipefd[0]);
316 if (data->pipefd[1] > 0)
317 close(data->pipefd[1]);
423 err = write(data->pipefd[1], &c, 1);
803 assert(data->pipefd[0] >= 0);
808 pfd[0].fd = data->pipefd[0];
1676 data->pipefd[0] = -1;
1677 data->pipefd[1] = -1;
1679 if (pipe(data->pipefd) < 0) {
1683 if (fcntl(data->pipefd[0], F_SETFL, O_NONBLOCK) < 0) {
1687 if (fcntl(data->pipefd[1], F_SETFL, O_NONBLOCK) < 0) {