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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/init/
H A Dinit.c144 static int log_fd = -1; local
173 if (log_fd < 0) {
175 log_fd = 2;
177 log_fd = device_open(log_console, O_WRONLY | O_NONBLOCK | O_NOCTTY);
178 if (log_fd < 0) {
182 fcntl(log_fd, F_SETFD, FD_CLOEXEC);
187 full_write(log_fd, msg, l);
188 if (log_fd == 2)

Completed in 49 milliseconds