Searched refs:signal_pipe (Results 1 – 4 of 4) sorted by relevance
/external/dhcpcd/ |
D | signals.c | 40 static int signal_pipe[2]; variable 56 if (write(signal_pipe[1], &sig, sizeof(sig)) != sizeof(sig)) in signal_handler() 73 bytes = read(signal_pipe[0], buf, sizeof(buf)); in signal_read() 84 if (pipe(signal_pipe) == -1) in signal_init() 87 if (set_nonblock(signal_pipe[0]) == -1) in signal_init() 90 if (set_cloexec(signal_pipe[0]) == -1) in signal_init() 92 if (set_cloexec(signal_pipe[1]) == -1) in signal_init() 94 return signal_pipe[0]; in signal_init()
|
/external/dropbear/ |
D | common-session.c | 64 if (pipe(ses.signal_pipe) < 0) { in common_session_init() 67 setnonblocking(ses.signal_pipe[0]); in common_session_init() 68 setnonblocking(ses.signal_pipe[1]); in common_session_init() 143 FD_SET(ses.signal_pipe[0], &readfd); in session_loop() 171 if (FD_ISSET(ses.signal_pipe[0], &readfd)) { in session_loop() 173 while (read(ses.signal_pipe[0], &x, 1) > 0) {} in session_loop()
|
D | session.h | 126 int signal_pipe[2]; /* stores endpoints of a self-pipe used for member
|
D | svr-chansession.c | 131 if (write(ses.signal_pipe[1], &ses.isserver, 1) == 1 in sesssigchild_handler()
|