Lines Matching refs:stdout
33 // instead of exiting, lets xexit() report stdout flush failures to stderr
142 // if !flush just check for error on stdout without flushing
145 if ((flush && fflush(0)) || ferror(stdout))
164 while (len != (out = fwrite(s, 1, len, stdout))) {
178 // Write string to stdout with newline, flushing and checking for errors
187 if (EOF == fputc(c, stdout)) perror_exit("write");
220 // Spawn child process, capturing stdin/stdout.
223 // pipes[2]: Filehandle to move to stdin/stdout of new process.
224 // If -1, replace with pipe handle connected to stdin/stdout.
225 // NULL treated as {0, 1}, I.E. leave stdin/stdout as is
239 // Child process: Dance of the stdin/stdout redirection.
245 // in child, close read end of output pipe, use write end as new stdout
257 // If swapping stdin/stdout, dup a filehandle that gets closed before use
266 // Are we redirecting stdout?
332 // Wrapper to xpopen with a pipe for just one of stdin/stdout
352 // Call xpopen and wait for it to finish, keeping existing stdin/stdout.
405 // Move file descriptor above stdin/stdout/stderr, using /dev/null to consume
406 // old one. (We should never be called with stdin/stdout/stderr closed, but...)
437 // Create a file but don't return stdin/stdout/stderr
443 // Open a file descriptor NOT in stdin/stdout/stderr