Lines Matching refs:pipes
46 static int pipes[2];
56 { &badfd, NULL, &pipes[1], NULL, EBADF },
57 { &pipes[0], NULL, &badfd, NULL, EBADF },
58 { &wrfd, NULL, &pipes[1], NULL, EBADF },
59 { &pipes[0], NULL, &appendfd, NULL, EINVAL },
61 { &pipes[0], &offset, &wrfd, NULL, ESPIPE },
62 { &rdfd, NULL, &pipes[1], &offset, ESPIPE },
74 SAFE_PIPE(pipes);
76 SAFE_WRITE(SAFE_WRITE_ALL, pipes[1], STR, sizeof(STR) - 1);
113 if (pipes[0] > 0)
114 SAFE_CLOSE(pipes[0]);
116 if (pipes[1] > 0)
117 SAFE_CLOSE(pipes[1]);