OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:log_fd
(Results
1 - 4
of
4
) sorted by null
/external/dnsmasq/src/
log.c
38
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
== -1
[
all
...]
/system/core/init/
util.c
37
static int
log_fd
= -1;
variable
50
log_fd
= open(name, O_WRONLY);
51
fcntl(
log_fd
, F_SETFD, FD_CLOEXEC);
64
if (
log_fd
< 0) return;
70
write(
log_fd
, buf, strlen(buf));
/system/core/liblog/
logd_write.c
73
static int __write_to_log_null(log_id_t
log_fd
, struct iovec *vec, size_t nr)
81
int
log_fd
;
local
84
log_fd
= log_fds[(int)log_id];
90
ret = log_writev(
log_fd
, vec, nr);
/bionic/linker/
linker_format.c
268
static int
log_fd
= -1;
local
272
if (
log_fd
< 0) {
273
log_fd
= open("/dev/log/main", O_WRONLY);
274
if (
log_fd
< 0)
290
ret = writev(
log_fd
, vec, 3);
Completed in 156 milliseconds