Searched defs:fileno (Results 1 - 1 of 1) sorted by relevance
/systemd/src/core/ |
H A D | execute.c | 445 int fileno, 459 if (fileno == STDOUT_FILENO && params->stdout_fd >= 0) { 467 if (fileno == STDERR_FILENO && params->stderr_fd >= 0) { 477 if (fileno == STDERR_FILENO) { 490 return fileno; 494 return dup2(STDOUT_FILENO, fileno) < 0 ? -errno : fileno; 501 return open_terminal_as(exec_context_tty_path(context), O_WRONLY, fileno); 505 return dup2(STDIN_FILENO, fileno) < 0 ? -errno : fileno; 441 setup_output( Unit *unit, const ExecContext *context, const ExecParameters *params, int fileno, int socket_fd, const char *ident, uid_t uid, gid_t gid) argument [all...] |
Completed in 17 milliseconds