Lines Matching refs:pipes
57 static int pipes[2]; variable
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); in setup()
87 SAFE_WRITE(1, pipes[1], STR, sizeof(STR) - 1); in setup()
124 if (pipes[0] > 0) in cleanup()
125 SAFE_CLOSE(pipes[0]); in cleanup()
127 if (pipes[1] > 0) in cleanup()
128 SAFE_CLOSE(pipes[1]); in cleanup()