/external/vboot_reference/utility/ |
verify_data.c | 28 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/ |
dexec.c | 56 int sigfd, r; local 136 sigfd = daemon_signal_fd(); 137 FD_SET(sigfd, &fds); 177 if (FD_ISSET(sigfd, &qfds)) {
|
/external/toybox/toys/pending/ |
syslogd.c | 70 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[0], &rfds)) { /* May be a signal * [all...] |
dhcp.c | 197 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); [all...] |
dhcpd.c | 327 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); [all...] |
/external/toybox/generated/ |
globals.h | 754 int sigfd[2]; member in struct:syslogd_data
|