Searched refs:sigfd (Results 1 - 6 of 6) sorted by relevance

/external/vboot_reference/utility/
H A Dverify_data.c28 int i, sigfd; local
30 if ((sigfd = open(input_file, O_RDONLY)) == -1) {
40 if( (i = read(sigfd, signature, len)) != len ) {
43 close(sigfd);
47 close(sigfd);
/external/libdaemon/libdaemon/
H A Ddexec.c56 int sigfd, r; local
136 sigfd = daemon_signal_fd();
137 FD_SET(sigfd, &fds);
177 if (FD_ISSET(sigfd, &qfds)) {
/external/toybox/toys/pending/
H A Dsyslogd.c70 int sigfd[2];
403 if (write(TT.sigfd[1], &ch, 1) != 1) error_msg("can't send signal");
463 xpipe(TT.sigfd);
465 fcntl(TT.sigfd[1] , F_SETFD, FD_CLOEXEC);
466 fcntl(TT.sigfd[0] , F_SETFD, FD_CLOEXEC);
467 int flags = fcntl(TT.sigfd[1], F_GETFL);
468 fcntl(TT.sigfd[1], F_SETFL, flags | O_NONBLOCK);
488 FD_SET(TT.sigfd[0], &rfds);
492 retval = select(TT.sigfd[0] + 1, &rfds, NULL, NULL, (TT.interval)?&tv:NULL);
497 else if (FD_ISSET(TT.sigfd[
[all...]
H A Ddhcp.c197 static struct fd_pair sigfd; variable in typeref:struct:fd_pair
809 if (write(sigfd.wr, &ch, 1) != 1) dbg("can't send signal\n");
815 if (pipe((int *)&sigfd) < 0) {
819 fcntl(sigfd.wr , F_SETFD, FD_CLOEXEC);
820 fcntl(sigfd.rd , F_SETFD, FD_CLOEXEC);
821 int flags = fcntl(sigfd.wr, F_GETFL);
822 fcntl(sigfd.wr, F_SETFL, flags | O_NONBLOCK);
1315 FD_SET(sigfd.rd, &rfds);
1320 int maxfd = (sigfd.rd > state->sockfd)? sigfd
[all...]
H A Ddhcpd.c327 static struct fd_pair sigfd; variable in typeref:struct:fd_pair
478 if (write(sigfd.wr, &ch, 1) != 1) dbg("can't send signal\n");
484 if (pipe((int *)&sigfd) < 0) {
488 fcntl(sigfd.wr , F_SETFD, FD_CLOEXEC);
489 fcntl(sigfd.rd , F_SETFD, FD_CLOEXEC);
490 int flags = fcntl(sigfd.wr, F_GETFL);
491 fcntl(sigfd.wr, F_SETFL, flags | O_NONBLOCK);
1676 FD_SET(sigfd.rd, &rfds);
1683 int maxfd = (sigfd.rd > gstate.listensock)? sigfd
[all...]
/external/toybox/generated/
H A Dglobals.h754 int sigfd[2]; member in struct:syslogd_data

Completed in 1701 milliseconds