Searched refs:Pfd (Results 1 - 8 of 8) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/ttymon/
H A Dtmsac.c81 * -- 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 Dtmglobal.c41 int Sfd, Pfd; /* for sacpipe and pmpipe */ variable
H A Dtmextern.h132 extern int Sfd, Pfd;
H A Dtmhandler.c534 pfd[1].fd = Pfd;
H A Dttymon.c189 if (ioctl(Pfd, I_SETSIG, S_INPUT) < 0)
/opensolaris-onvv-gate/usr/src/cmd/utmpd/
H A Dutmpd.c139 static int Pfd = -1; /* File descriptor of named pipe */ variable
335 Pfd = -1;
587 if (Pfd < 0) {
593 Pfd = open(UTMPPIPE, O_RDWR | O_NDELAY);
595 if (Pfd < 0)
602 if (Pfd >= 0) {
609 (void) ioctl(Pfd, I_SRDOPT, RMSGD);
616 fdtable[0].fd = Pfd; /* Pfd could be -1, should be okay */
635 * return is all we can do) or will get EAGAIN (Pfd wa
[all...]
/opensolaris-onvv-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c234 static struct pollfd Pfd; /* Pollfd for local the log device */ variable in typeref:struct:pollfd
579 Pfd.fd = funix;
580 Pfd.events = POLLIN;
583 nfds = poll(&Pfd, 1, 0);
590 if (Pfd.revents & POLLIN) {
592 } else if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) {
634 nfds = poll(&Pfd, 1, INFTIM);
644 if (Pfd.revents & POLLIN) {
650 if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) {
652 (void) close(Pfd
[all...]
/opensolaris-onvv-gate/usr/src/cmd/init/
H A Dinit.c501 static int Pfd = -1; /* fd to receive pids thru */ variable
2226 if (Pfd >= 0)
2227 (void) close(Pfd);
2231 Pfd = open(INITPIPE, O_RDWR | O_NDELAY);
2237 Pfd = open(INITPIPE, O_RDWR | O_NDELAY);
2240 if (Pfd >= 0) {
2241 (void) ioctl(Pfd, I_SETSIG, S_INPUT);
2245 (void) ioctl(Pfd, I_SRDOPT, RMSGD);
3618 if (Pfd < 0) {
3625 * return is all we can do) or will get EAGAIN (Pfd wa
[all...]

Completed in 145 milliseconds