Searched refs:Pfd (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmsac.c | 81 * -- Pfd, Sfd are global file descriptors for pmpipe, sacpipe 87 extern int Pfd, Sfd; 93 Pfd = open(PMPIPE, O_RDWR|O_NONBLOCK); 94 if (Pfd < 0) 99 log("fd(pmpipe)\t = %d",Pfd); 185 ret = read(Pfd, &sacmsg, sizeof(sacmsg));
|
H A D | tmglobal.c | 41 int Sfd, Pfd; /* for sacpipe and pmpipe */ variable
|
H A D | tmextern.h | 132 extern int Sfd, Pfd;
|
H A D | tmhandler.c | 534 pfd[1].fd = Pfd;
|
H A D | ttymon.c | 189 if (ioctl(Pfd, I_SETSIG, S_INPUT) < 0)
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 142 static int Pfd = -1; /* File descriptor of named pipe */ variable 353 Pfd = -1; 605 if (Pfd < 0) { 611 Pfd = open(UTMPPIPE, O_RDWR | O_NDELAY); 613 if (Pfd < 0) 620 if (Pfd >= 0) { 627 (void) ioctl(Pfd, I_SRDOPT, RMSGD); 634 fdtable[0].fd = Pfd; /* Pfd could be -1, should be okay */ 653 * return is all we can do) or will get EAGAIN (Pfd wa [all...] |
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 241 static struct pollfd Pfd; /* Pollfd for local the log device */ variable in typeref:struct:pollfd 585 Pfd.fd = funix; 586 Pfd.events = POLLIN; 589 nfds = poll(&Pfd, 1, 0); 596 if (Pfd.revents & POLLIN) { 598 } else if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) { 638 nfds = poll(&Pfd, 1, INFTIM); 648 if (Pfd.revents & POLLIN) { 654 if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) { 656 (void) close(Pfd [all...] |
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 504 static int Pfd = -1; /* fd to receive pids thru */ variable 2234 if (Pfd >= 0) 2235 (void) close(Pfd); 2239 Pfd = open(INITPIPE, O_RDWR | O_NDELAY); 2245 Pfd = open(INITPIPE, O_RDWR | O_NDELAY); 2248 if (Pfd >= 0) { 2249 (void) ioctl(Pfd, I_SETSIG, S_INPUT); 2253 (void) ioctl(Pfd, I_SRDOPT, RMSGD); 3624 if (Pfd < 0) { 3631 * return is all we can do) or will get EAGAIN (Pfd wa [all...] |
Completed in 69 milliseconds