Home
last modified time | relevance | path

Searched refs:log_fd (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/init/
Dinit.c264 static int log_fd = -1; in message() local
266 if (log_fd < 0) { in message()
267 log_fd = STDERR_FILENO; in message()
269 log_fd = device_open(G.log_console, O_WRONLY | O_NONBLOCK | O_NOCTTY); in message()
270 if (log_fd < 0) { in message()
274 close_on_exec_on(log_fd); in message()
278 full_write(log_fd, msg, l); in message()
279 if (log_fd == STDERR_FILENO) in message()
/busybox-1.35.0/networking/
Dwget.c264 int log_fd; member
325 if (G.log_fd >= 0) in progress_meter()
1628 G.log_fd = -1; in wget_main()
1632 G.log_fd = xopen(G.fname_log, O_WRONLY | O_CREAT | O_TRUNC); in wget_main()
1634 xdup2(G.log_fd, STDERR_FILENO); in wget_main()
1644 if (G.log_fd >= 0) in wget_main()
1645 xclose(G.log_fd); in wget_main()