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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/LPRng/src/include/
H A Dlpd_logger.h32 int Start_logger( int log_fd );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/src/include/
H A Dlpd_logger.h32 int Start_logger( int log_fd );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/LPRng/src/include/
H A Dlpd_logger.h32 int Start_logger( int log_fd );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/dnsmasq/src/
H A Dlog.c39 static int log_fd = -1; variable
79 log_fd = dup(STDERR_FILENO);
105 fchown(log_fd, ent_pw->pw_uid, -1) != 0)
115 if (log_fd != -1)
116 close(log_fd);
121 log_fd = open(log_file, O_WRONLY|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR|S_IRGRP);
126 Just leave log_fd == -1 and use the vsyslog call for everything.... */
131 log_fd = socket(AF_UNIX, connection_type, 0);
134 if (log_fd != -1 && max_logs != 0 && (flags = fcntl(log_fd, F_GETF
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/dnsmasq/src/
H A Dlog.c39 static int log_fd = -1; variable
79 log_fd = dup(STDERR_FILENO);
105 fchown(log_fd, ent_pw->pw_uid, -1) != 0)
115 if (log_fd != -1)
116 close(log_fd);
121 log_fd = open(log_file, O_WRONLY|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR|S_IRGRP);
126 Just leave log_fd == -1 and use the vsyslog call for everything.... */
131 log_fd = socket(AF_UNIX, connection_type, 0);
134 if (log_fd != -1 && max_logs != 0 && (flags = fcntl(log_fd, F_GETF
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/dnsmasq/src/
H A Dlog.c39 static int log_fd = -1; variable
79 log_fd = dup(STDERR_FILENO);
105 fchown(log_fd, ent_pw->pw_uid, -1) != 0)
115 if (log_fd != -1)
116 close(log_fd);
121 log_fd = open(log_file, O_WRONLY|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR|S_IRGRP);
126 Just leave log_fd == -1 and use the vsyslog call for everything.... */
131 log_fd = socket(AF_UNIX, connection_type, 0);
134 if (log_fd != -1 && max_logs != 0 && (flags = fcntl(log_fd, F_GETF
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openvpn/src/openvpn/
H A Derror.c485 int log_fd; local
526 log_fd = _open_osfhandle ((intptr_t)log_handle, _O_TEXT);
527 if (log_fd == -1)
532 msgfp = _fdopen (log_fd, "wt");
537 if (_dup2 (log_fd, 1) == -1 || _dup2 (log_fd, 2) == -1)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openvpn/src/openvpn/
H A Derror.c485 int log_fd; local
526 log_fd = _open_osfhandle ((intptr_t)log_handle, _O_TEXT);
527 if (log_fd == -1)
532 msgfp = _fdopen (log_fd, "wt");
537 if (_dup2 (log_fd, 1) == -1 || _dup2 (log_fd, 2) == -1)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openvpn/src/openvpn/
H A Derror.c485 int log_fd; local
526 log_fd = _open_osfhandle ((intptr_t)log_handle, _O_TEXT);
527 if (log_fd == -1)
532 msgfp = _fdopen (log_fd, "wt");
537 if (_dup2 (log_fd, 1) == -1 || _dup2 (log_fd, 2) == -1)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/init/
H A Dinit.c134 static int log_fd = -1; local
140 if (log_fd < 0) {
142 log_fd = STDERR_FILENO;
144 log_fd = device_open(log_console, O_WRONLY | O_NONBLOCK | O_NOCTTY);
145 if (log_fd < 0) {
149 close_on_exec_on(log_fd);
154 full_write(log_fd, msg, l);
155 if (log_fd == STDERR_FILENO)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/init/
H A Dinit.c134 static int log_fd = -1; local
140 if (log_fd < 0) {
142 log_fd = STDERR_FILENO;
144 log_fd = device_open(log_console, O_WRONLY | O_NONBLOCK | O_NOCTTY);
145 if (log_fd < 0) {
149 close_on_exec_on(log_fd);
154 full_write(log_fd, msg, l);
155 if (log_fd == STDERR_FILENO)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/init/
H A Dinit.c134 static int log_fd = -1; local
140 if (log_fd < 0) {
142 log_fd = STDERR_FILENO;
144 log_fd = device_open(log_console, O_WRONLY | O_NONBLOCK | O_NOCTTY);
145 if (log_fd < 0) {
149 close_on_exec_on(log_fd);
154 full_write(log_fd, msg, l);
155 if (log_fd == STDERR_FILENO)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/LPRng/src/common/
H A Dlpd_logger.c58 int Start_logger( int log_fd )
75 passfd.list[passfd.count++] = Cast_int_to_voidstar(log_fd);
81 DEBUG1("Start_logger: log_fd %d, status_pid %d", log_fd, pid );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/src/common/
H A Dlpd_logger.c58 int Start_logger( int log_fd )
75 passfd.list[passfd.count++] = Cast_int_to_voidstar(log_fd);
81 DEBUG1("Start_logger: log_fd %d, status_pid %d", log_fd, pid );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/LPRng/src/common/
H A Dlpd_logger.c58 int Start_logger( int log_fd )
75 passfd.list[passfd.count++] = Cast_int_to_voidstar(log_fd);
81 DEBUG1("Start_logger: log_fd %d, status_pid %d", log_fd, pid );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/ntvfs/nbench/
H A Dvfs_nbench.c32 int log_fd; member in struct:nbench_private
52 write(nprivates->log_fd, s, strlen(s));
127 nprivates->log_fd = open(logname, O_WRONLY|O_CREAT|O_APPEND, 0644);
130 if (nprivates->log_fd == -1) {
150 close(nprivates->log_fd);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/ntvfs/nbench/
H A Dvfs_nbench.c32 int log_fd; member in struct:nbench_private
52 write(nprivates->log_fd, s, strlen(s));
127 nprivates->log_fd = open(logname, O_WRONLY|O_CREAT|O_APPEND, 0644);
130 if (nprivates->log_fd == -1) {
150 close(nprivates->log_fd);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/ntvfs/nbench/
H A Dvfs_nbench.c32 int log_fd; member in struct:nbench_private
52 write(nprivates->log_fd, s, strlen(s));
127 nprivates->log_fd = open(logname, O_WRONLY|O_CREAT|O_APPEND, 0644);
130 if (nprivates->log_fd == -1) {
150 close(nprivates->log_fd);

Completed in 229 milliseconds