Searched refs:_signal_pipe (Results 1 – 1 of 1) sorted by relevance
41 static int _signal_pipe[2] = { -1, -1 }; variable45 write(_signal_pipe[1], &s, sizeof(s)); in _sigfunc()51 if (_signal_pipe[0] < 0 || _signal_pipe[1] < 0) { in _init()52 if (pipe(_signal_pipe) < 0) { in _init()57 if (daemon_nonblock(_signal_pipe[0], 1) < 0 || daemon_nonblock(_signal_pipe[1], 1) < 0) { in _init()126 if (_signal_pipe[0] != -1) in daemon_signal_done()127 close(_signal_pipe[0]); in daemon_signal_done()129 if (_signal_pipe[1] != -1) in daemon_signal_done()130 close(_signal_pipe[1]); in daemon_signal_done()132 _signal_pipe[0] = _signal_pipe[1] = -1; in daemon_signal_done()[all …]