Searched defs:saved_stdin (Results 1 - 2 of 2) sorted by relevance

/systemd/src/shared/
H A Dptyfwd.c58 bool saved_stdin:1; member in struct:PTYForward
374 f->saved_stdin = true;
431 if (f->saved_stdin)
/systemd/src/core/
H A Dexecute.c568 _cleanup_close_ int fd = -1, saved_stdin = -1, saved_stdout = -1; local
574 saved_stdin = fcntl(STDIN_FILENO, F_DUPFD, 3);
575 if (saved_stdin < 0)
609 *_saved_stdin = saved_stdin;
612 saved_stdin = saved_stdout = -1;
634 static int restore_confirm_stdio(int *saved_stdin, int *saved_stdout) { argument
637 assert(saved_stdin);
642 if (*saved_stdin >= 0)
643 if (dup2(*saved_stdin, STDIN_FILENO) < 0)
650 *saved_stdin
657 int saved_stdout = -1, saved_stdin = -1, r; local
[all...]

Completed in 14 milliseconds