Searched refs:saved_stdout (Results 1 - 2 of 2) sorted by relevance

/systemd/src/shared/
H A Dptyfwd.c59 bool saved_stdout:1; member in struct:PTYForward
385 f->saved_stdout = true;
429 if (f->saved_stdout)
/systemd/src/core/
H A Dexecute.c568 _cleanup_close_ int fd = -1, saved_stdin = -1, saved_stdout = -1; local
578 saved_stdout = fcntl(STDOUT_FILENO, F_DUPFD, 3);
579 if (saved_stdout < 0)
610 *_saved_stdout = saved_stdout;
612 saved_stdin = saved_stdout = -1;
634 static int restore_confirm_stdio(int *saved_stdin, int *saved_stdout) { argument
638 assert(saved_stdout);
646 if (*saved_stdout >= 0)
647 if (dup2(*saved_stdout, STDOUT_FILENO) < 0)
651 *saved_stdout
657 int saved_stdout = -1, saved_stdin = -1, r; local
[all...]

Completed in 15 milliseconds