Lines Matching full:pipes
57 static int pipes[2];
67 { &badfd, NULL, &pipes[1], NULL, EBADF },
68 { &pipes[0], NULL, &badfd, NULL, EBADF },
69 { &wrfd, NULL, &pipes[1], NULL, EBADF },
70 { &pipes[0], NULL, &appendfd, NULL, EINVAL },
72 { &pipes[0], &offset, &wrfd, NULL, ESPIPE },
73 { &rdfd, NULL, &pipes[1], &offset, ESPIPE },
85 SAFE_PIPE(pipes);
87 SAFE_WRITE(1, pipes[1], STR, sizeof(STR) - 1);
124 if (pipes[0] > 0)
125 SAFE_CLOSE(pipes[0]);
127 if (pipes[1] > 0)
128 SAFE_CLOSE(pipes[1]);