Searched refs:POLLHUP (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/uts/common/sys/
H A Dpoll.h75 #define POLLHUP 0x0010 /* fd has been hung up on */ macro
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c157 if (pfd->revents & POLLHUP) {
174 if (pfd->revents & ~(POLLPRI|POLLHUP|POLLNVAL))
/illumos-gate/usr/src/lib/libc/port/sys/
H A Depoll.c51 #if EPOLLHUP != POLLHUP
52 #error value of EPOLLHUP does not match value of POLLHUP
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dstreamio.c66 if (fds.revents & (POLLHUP | POLLERR | POLLNVAL)) {
H A Dmlisten.c435 ** POLLHUP means the client aborted the call.
439 if (fdp->revents & POLLHUP) /* disconnected */
463 if (fdp->revents == POLLHUP)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dselect.c187 * We would like to make POLLHUP available to select,
194 * if ((p->revents & POLLHUP) &&
253 if ((p->revents & (POLLHUP|POLLERR)) &&
263 if ((p->revents & (POLLHUP|POLLERR)) &&
273 if ((p->revents & (POLLHUP|POLLERR)) &&
H A Dselect_large_fdset.c236 * We would like to make POLLHUP available to select,
243 * if ((p->revents & POLLHUP) &&
302 if ((p->revents & (POLLHUP|POLLERR)) &&
312 if ((p->revents & (POLLHUP|POLLERR)) &&
322 if ((p->revents & (POLLHUP|POLLERR)) &&
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmpeek.c95 if (fds[0].revents & POLLHUP) {
96 log( "POLLHUP received, about to exit");
H A Dtmchild.c654 pfd[0].events = POLLHUP;
664 if (pfd[0].revents & POLLHUP) {
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dmsgs.c92 if ((md->event & POLLHUP) && !(md->event & POLLIN) ||
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dpoll_solaris.c93 "[+POLLHUP?A hangup has occurred on the stream. This "
116 "POLLHUP, POLLERR, and POLLNVAL are always set in \brevents\b "
206 if (strstr(str, "POLLHUP")) events |= POLLHUP;
228 if (events & POLLHUP) s=mystpcpy(s, "POLLHUP|");
/illumos-gate/usr/src/cmd/svc/startd/
H A Dwait.c276 if ((pe.portev_events & POLLHUP) == POLLHUP) {
/illumos-gate/usr/src/cmd/rexd/
H A Dunix_login.c597 if (!(fdp[master].revents & (POLLERR | POLLHUP | POLLNVAL))) {
627 if (!(fdp[inputsocket].revents & (POLLERR | POLLHUP |
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starcat/
H A Dcvcd.c632 if (revents & (POLLERR | POLLHUP | POLLNVAL)) {
638 (revents & POLLHUP) ? " hangup" : "",
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dwait.c190 /* open /proc psinfo file of process to listen for POLLHUP events on */
252 * poll for, so we should only get a POLLHUP event on the fd.
332 * We expect to get a POLLHUP back on the fd of the process's
334 * A POLLERR could(?) mask a POLLHUP, so handle this
337 if ((pfd->revents & (POLLHUP|POLLERR)) == 0) {
348 * Either poll() is sending us invalid POLLHUP events
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dlibmilter.h192 (((rds).revents & (POLLERR | POLLHUP | POLLNVAL)) != 0)
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c282 if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) {
440 if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c838 if (p_ev.portev_events & (POLLHUP|POLLERR)) {
856 if (p_ev.portev_events & (POLLHUP|POLLERR)) {
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c796 if ((fds[index].revents & POLLHUP) ==
797 POLLHUP) {
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/
H A Dcvcd.c491 if (cvcd_pfd[j].revents & (POLLERR|POLLHUP|POLLNVAL)) {
498 (cvcd_pfd[j].revents & POLLHUP) ?
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
H A Dex_dscp.c273 if (pfd.revents & (POLLHUP | POLLERR)) {
388 if (pfd.revents & (POLLHUP | POLLERR)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c698 if (pfd[0].revents & (POLLIN|POLLHUP)) {
715 * is closed (indicated by POLLHUP) there may still
717 * the data, only POLLHUP remains, read() returns 0
720 if (!dflag && (pfd[1].revents & (POLLIN|POLLHUP))) {
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvldc.c299 pollevents = POLLHUP;
329 pollevents = POLLHUP;
727 pollwakeup(&vport->poll, POLLHUP);
1710 *reventsp |= POLLHUP;
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocknotify.c148 * we explicitly set POLLHUP. At the same time, we also clear
149 * POLLOUT, as POLLOUT and POLLHUP are defined to be mutually
153 pollev = (pollev | POLLHUP) & ~POLLOUT;
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c875 return (POLLHUP);
883 * the events mask empty (apart from the POLLHUP bit), set the fd field
892 if ((ctx->pollfds[fd].events & ~POLLHUP) == 0) {
914 * field has any other bits than POLLHUP set, also set the fd field so that
923 if ((ctx->pollfds[fd].events & ~POLLHUP) != 0) {

Completed in 133 milliseconds

123