Home
last modified time | relevance | path

Searched refs:_daemon_retval_pipe (Results 1 – 1 of 1) sorted by relevance

/external/libdaemon/libdaemon/
Ddfork.c58 static int _daemon_retval_pipe[2] = { -1, -1 }; variable
214 if (_daemon_retval_pipe[0] >= 0 && move_fd_up(&_daemon_retval_pipe[0]) < 0) in daemon_fork()
216 if (_daemon_retval_pipe[1] >= 0 && move_fd_up(&_daemon_retval_pipe[1]) < 0) in daemon_fork()
350 if (_daemon_retval_pipe[0] < 0 || _daemon_retval_pipe[1] < 0) { in daemon_retval_init()
352 if (pipe(_daemon_retval_pipe) < 0) { in daemon_retval_init()
364 if (_daemon_retval_pipe[0] >= 0) in daemon_retval_done()
365 close(_daemon_retval_pipe[0]); in daemon_retval_done()
367 if (_daemon_retval_pipe[1] >= 0) in daemon_retval_done()
368 close(_daemon_retval_pipe[1]); in daemon_retval_done()
370 _daemon_retval_pipe[0] = _daemon_retval_pipe[1] = -1; in daemon_retval_done()
[all …]