OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:daemon_log
(Results
1 - 7
of
7
) sorted by null
/external/libdaemon/examples/
testd.c
45
daemon_log
(LOG_ERR, "Failed to reset all signal handlers: %s", strerror(errno));
51
daemon_log
(LOG_ERR, "Failed to unblock all signals: %s", strerror(errno));
66
daemon_log
(LOG_WARNING, "Failed to kill daemon: %s", strerror(errno));
73
daemon_log
(LOG_ERR, "Daemon already running on PID file %u", pid);
79
daemon_log
(LOG_ERR, "Failed to create pipe.");
95
daemon_log
(LOG_ERR, "Could not recieve return value from daemon process: %s", strerror(errno));
99
daemon_log
(ret != 0 ? LOG_ERR : LOG_INFO, "Daemon returned %i as return value.", ret);
108
daemon_log
(LOG_ERR, "Failed to close all file descriptors: %s", strerror(errno));
117
daemon_log
(LOG_ERR, "Could not create PID file (%s).", strerror(errno));
124
daemon_log
(LOG_ERR, "Could not register signal handlers (%s).", strerror(errno))
[
all
...]
/external/libdaemon/libdaemon/
dsignal.c
53
daemon_log
(LOG_ERR, "pipe(): %s", strerror(errno));
74
daemon_log
(LOG_ERR, "sigemptyset(): %s", strerror(errno));
79
daemon_log
(LOG_ERR, "sigaddset(): %s", strerror(errno));
84
daemon_log
(LOG_ERR, "sigprocmask(): %s", strerror(errno));
94
daemon_log
(LOG_ERR, "sigaction(%s, ...) failed: %s", strsignal(s), strerror(errno));
149
daemon_log
(LOG_ERR, "read(signal_pipe[0], ...): %s", strerror(errno));
154
daemon_log
(LOG_ERR, "Short read() on signal pipe.");
dexec.c
63
daemon_log
(LOG_ERR, "pipe() failed: %s", strerror(errno));
68
daemon_log
(LOG_ERR, "fork() failed: %s", strerror(errno));
83
daemon_log
(LOG_ERR, "dup2: %s", strerror(errno));
89
daemon_log
(LOG_ERR, "dup2: %s", strerror(errno));
103
daemon_log
(LOG_ERR, "Unable to open /dev/null as STDIN");
114
daemon_log
(LOG_WARNING, "Failed to change to directory '%s'", dir);
125
daemon_log
(LOG_ERR, "execv(%s) failed: %s", prog, strerror(errno));
149
daemon_log
(LOG_ERR, "select() failed: %s", strerror(errno));
170
daemon_log
(LOG_INFO, "client: %s", buf);
188
daemon_log
(LOG_WARNING, "Killing child.")
[
all
...]
dfork.c
125
daemon_log
(LOG_ERR, "dup(): %s", strerror(errno));
148
daemon_log
(LOG_ERR, "sigemptyset() failed: %s", strerror(errno));
153
daemon_log
(LOG_ERR, "sigaddset() failed: %s", strerror(errno));
158
daemon_log
(LOG_ERR, "sigaction() failed: %s", strerror(errno));
163
daemon_log
(LOG_ERR, "sigprocmask() failed: %s", strerror(errno));
173
daemon_log
(LOG_ERR, "pipe() failed: %s", strerror(errno));
184
daemon_log
(LOG_ERR, "First fork() failed: %s", strerror(errno));
206
daemon_log
(LOG_ERR, "close() failed: %s", strerror(errno));
220
daemon_log
(LOG_ERR, "Failed to open /dev/null for STDIN: %s", strerror(errno));
225
daemon_log
(LOG_ERR, "Failed to open /dev/null for STDOUT: %s", strerror(errno))
[
all
...]
dlog.h
71
void
daemon_log
(int prio, const char* t, ...) DAEMON_GCC_PRINTF_ATTR(2,3);
79
/** Same as
daemon_log
(), but without variadic arguments
dlog.c
46
daemon_log
(LOG_ERR, "The value %d is not a valid priority value", verbosity_prio);
78
void
daemon_log
(int prio, const char* template, ...) {
function
dpid.c
92
daemon_log
(LOG_WARNING, "fcntl(F_SETLKW) failed: %s", strerror(errno));
116
daemon_log
(LOG_WARNING, "Failed to open PID file: %s", strerror(errno));
127
daemon_log
(LOG_WARNING, "read(): %s", strerror(errno));
141
daemon_log
(LOG_WARNING, "PID file corrupt, removing. (%s)", fn);
149
daemon_log
(LOG_WARNING, "Process %lu died: %s; trying to remove PID file. (%s)", (unsigned long) pid, strerror(errno), fn);
231
daemon_log
(LOG_ERR, "open(%s): %s", fn, strerror(errno));
247
daemon_log
(LOG_WARNING, "write(): %s", strerror(errno));
Completed in 72 milliseconds