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

/systemd/src/basic/
H A Dlog.c64 static int console_fd = STDERR_FILENO; variable
82 if (console_fd < 0)
86 if (console_fd >= 3)
87 safe_close(console_fd);
89 console_fd = -1;
95 if (console_fd >= 0)
99 console_fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC);
100 if (console_fd < 0)
101 return console_fd;
103 console_fd
[all...]

Completed in 547 milliseconds