Lines Matching defs:pipe
224 // If -1, replace with pipe handle connected to stdin/stdout.
235 if (pipe(cestnepasun+(2*pid))) perror_exit("pipe");
242 // if we had no stdin/out, pipe handles could overlap, so test for it
243 // and free up potentially overlapping pipe handles before reuse
245 // in child, close read end of output pipe, use write end as new stdout
251 // in child, close write end of input pipe, use read end as new stdin
332 // Wrapper to xpopen with a pipe for just one of stdin/stdout
333 pid_t xpopen(char **argv, int *pipe, int isstdout)
340 *pipe = pid ? pipes[!!isstdout] : -1;
345 int xpclose(pid_t pid, int pipe)
347 close(pipe);
388 if (pipe(pp)) perror_exit("xpipe");
503 // Die if lseek fails, probably due to being called on a pipe.