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

/external/dnsmasq/src/
H A Dlog.c38 static int log_fd = -1; variable
98 fchown(log_fd, ent_pw->pw_uid, -1) != 0)
106 if (log_fd != -1)
107 close(log_fd);
113 log_fd = open(log_file, O_WRONLY|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR|S_IRGRP);
114 return log_fd != -1;
119 Just leave log_fd == -1 and use the vsyslog call for everything.... */
121 log_fd = -1;
125 log_fd = socket(AF_UNIX, connection_type, 0);
127 if (log_fd
[all...]
/external/stressapptest/src/
H A Dlogger.h73 // log_fd: The file descriptor to write to. Will not be closed by this
75 void SetLogFd(int log_fd) { argument
76 LOGGER_ASSERT(log_fd >= 0);
77 log_fd_ = log_fd;

Completed in 151 milliseconds