Searched refs:Pfd (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/cmd/ttymon/ |
H A D | tmsac.c | 87 extern int Pfd, Sfd; in openpipes() 93 Pfd = open(PMPIPE, O_RDWR|O_NONBLOCK); in openpipes() 94 if (Pfd < 0) in openpipes() 99 log("fd(pmpipe)\t = %d",Pfd); in openpipes() 185 ret = read(Pfd, &sacmsg, sizeof(sacmsg)); in sacpoll()
|
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; in sigpoll_catch()
|
H A D | ttymon.c | 189 if (ioctl(Pfd, I_SETSIG, S_INPUT) < 0) in initialize()
|
/titanic_41/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 142 static int Pfd = -1; /* File descriptor of named pipe */ variable 353 Pfd = -1; in load_tables() 605 if (Pfd < 0) { in setup_pipe() 611 Pfd = open(UTMPPIPE, O_RDWR | O_NDELAY); in setup_pipe() 613 if (Pfd < 0) in setup_pipe() 620 if (Pfd >= 0) { in setup_pipe() 627 (void) ioctl(Pfd, I_SRDOPT, RMSGD); in setup_pipe() 634 fdtable[0].fd = Pfd; /* Pfd could be -1, should be okay */ in setup_pipe() 657 if ((bytes_read = read(Pfd, p, sizeof (struct pidrec))) != in drain_pipe() 664 while (read(Pfd, p, sizeof (struct pidrec)) > 0) in drain_pipe()
|
/titanic_41/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 241 static struct pollfd Pfd; /* Pollfd for local the log device */ variable 585 Pfd.fd = funix; in prepare_sys_poll() 586 Pfd.events = POLLIN; in prepare_sys_poll() 589 nfds = poll(&Pfd, 1, 0); in prepare_sys_poll() 596 if (Pfd.revents & POLLIN) { in prepare_sys_poll() 598 } else if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) { in prepare_sys_poll() 638 nfds = poll(&Pfd, 1, INFTIM); in sys_poll() 648 if (Pfd.revents & POLLIN) { in sys_poll() 654 if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) { in sys_poll() 656 (void) close(Pfd.fd); in sys_poll() [all …]
|
/titanic_41/usr/src/cmd/init/ |
H A D | init.c | 504 static int Pfd = -1; /* fd to receive pids thru */ variable 2234 if (Pfd >= 0) in setup_pipe() 2235 (void) close(Pfd); in setup_pipe() 2239 Pfd = open(INITPIPE, O_RDWR | O_NDELAY); in setup_pipe() 2245 Pfd = open(INITPIPE, O_RDWR | O_NDELAY); in setup_pipe() 2248 if (Pfd >= 0) { in setup_pipe() 2249 (void) ioctl(Pfd, I_SETSIG, S_INPUT); in setup_pipe() 2253 (void) ioctl(Pfd, I_SRDOPT, RMSGD); in setup_pipe() 3624 if (Pfd < 0) { in sigpoll() 3635 if (read(Pfd, p, sizeof (struct pidrec)) != in sigpoll()
|