POLLHUP
(pfd[1].revents & (POLLIN|POLLHUP)) == 0) {
if ((pfd[i].revents & (POLLIN | POLLHUP)) == 0)
if (what & (POLLHUP|POLLERR))
(pfd[0].revents & (POLLERR|POLLHUP|POLLNVAL)))
if (revents & POLLHUP) {
return POLLHUP;
return POLLHUP;
return revents & (hdl->events | POLLHUP);
if (revents & POLLHUP) {
return POLLHUP;
return revents & POLLHUP;
return POLLHUP;
return revents & (hdl->events | POLLHUP);
if ((pfd->revents & POLLHUP) ||
return POLLHUP;
return POLLHUP;
return POLLHUP;
if (revents & POLLHUP) {
return POLLHUP;
return POLLHUP;
return POLLHUP;
return POLLHUP;
if (pfd[PFD_FIRSTCON + i].revents & POLLHUP) {
if (pfd[PFD_SMTPLISTEN].revents & (POLLIN|POLLHUP)) {
if (pfd[PFD_CONFLISTEN].revents & (POLLIN|POLLHUP)) {
} else if (pfd[PFD_CONFFD].revents & (POLLIN|POLLHUP))
if (pfd[PFD_TRAPFD].revents & (POLLIN|POLLHUP))
if (pfd[PFD_SYNCFD].revents & (POLLIN|POLLHUP))
if (pfd[PFD_GREYBACK].revents & (POLLIN|POLLHUP))
if (pfd.revents & (POLLIN | POLLHUP)) {
pfd.events = POLLIN | POLLHUP | POLLOUT;
pfd.events = POLLIN | POLLHUP | POLLOUT;
pfd.events = POLLIN | POLLHUP | POLLOUT;
p->revents & POLLHUP ? "hup " : "",
if (revents & POLLHUP) {
if (pfd.revents & POLLHUP)
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLHUP));
assert(pfd[1].revents == POLLHUP);
assert(pfd[0].revents == (POLLIN | POLLHUP));
assert(pfd[1].revents == POLLHUP);
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLHUP));
assert(pfd[1].revents == POLLHUP);
assert(pfd[0].revents == (POLLIN | POLLHUP));
assert(pfd[1].revents == POLLHUP);
assert(pfd[0].revents == POLLHUP);
assert(pfd[1].revents == POLLHUP);
assert(pfd[0].revents == (POLLIN | POLLHUP));
assert(pfd[1].revents == POLLHUP);
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLHUP));
assert(pfd[1].revents == POLLHUP);
assert(pfd[0].revents == (POLLIN | POLLHUP));
assert(pfd[1].revents == POLLHUP);
fds[0].events = POLLIN | POLLHUP;
if (pfd[1].revents & POLLHUP) {
if (pfd[1].revents & POLLHUP) { /* slave device not connected */
if (pfd[0].revents & POLLHUP) {
| POLLERR | POLLHUP
| POLLERR | POLLHUP
fds.events = POLLIN | POLLERR | POLLHUP;
fds.events = POLLIN | POLLERR | POLLHUP;
forcehup = ((pl[i].events & ~POLLHUP) == 0);
pl[i].revents |= POLLHUP;
pl[i].revents |= POLLHUP;
pl[i].revents |= POLLHUP;
if (ev & POLLHUP) {
if (ev & POLLHUP) {
(pfd[0].revents & (POLLERR | POLLHUP | POLLNVAL))) {
pfd[POLL_STDIN].revents & POLLHUP &&
pfd[POLL_NETIN].revents & POLLHUP &&
if (pfd[POLL_NETOUT].revents & POLLHUP) {
if (pfd[POLL_STDOUT].revents & POLLHUP)
} else if (ssl_pending || (pfd[2].revents & (POLLIN|POLLHUP))) {
} else if (!(pfd.revents & (POLLIN|POLLHUP))) {
} else if ((pfd.revents & POLLHUP)) {
} else if (pfd[i].revents & POLLHUP) {
} else if (pfd[i].revents & POLLHUP) {
if (revents & POLLHUP) {
if ((revents & POLLHUP) && (f->state != FILE_ZOMB)) {
if ((pfd->revents & (revents_mask|POLLHUP|POLLERR)) != 0)
if (pfd[0].revents & (POLLIN|POLLHUP)) {
if (pfd[1].revents & (POLLOUT|POLLHUP)) {
if ((pfd[i].revents & (POLLIN|POLLHUP|POLLERR)) != 0 &&
if ((pfd[i].revents & (POLLOUT|POLLHUP)) != 0 &&
if (read_wait[i].revents & (POLLHUP|POLLERR|POLLNVAL))
if ((pfd[0].revents & (POLLIN|POLLHUP|POLLERR)) != 0) {
if ((pfd[1].revents & (POLLOUT|POLLHUP)) != 0) {
!(pfd[startup_pollfd[i]].revents & (POLLIN|POLLHUP)))
if (pfd[TELNET_FD_NET].revents & (POLLIN|POLLHUP)) {
if (pfd[TELNET_FD_TIN].revents & (POLLIN|POLLHUP)) {
if ((pfd[0].revents & (POLLERR|POLLHUP|POLLNVAL)))
if ((pfd[nfds].revents & POLLHUP) && sscr_end(sp))
if ((pfd[nfds].revents & POLLHUP) && sscr_end(sp))
if (pfd->revents & POLLHUP) {
if (pfd->revents & POLLHUP) {
if (pfd->revents & POLLHUP) {
if (fds[i].revents & (POLLIN | POLLHUP))
if (nfds > 0 && (pfd[0].revents & POLLHUP))
if ((fds[i].revents & (POLLIN | POLLHUP))) {
if ((fds[i].revents & (POLLIN | POLLHUP))) {
(POLLNVAL|POLLHUP|POLLERR))) {
if ((pfd.revents & POLLHUP))
if (pfds[0].revents & POLLHUP)
if (pfd[i].revents & POLLHUP)
if ((pfd.revents & POLLHUP)) {
if ((pfd.revents & POLLHUP)) {
if (pfds[0].revents & POLLHUP)
if (pfd.revents & POLLHUP)
| POLLHUP
| POLLERR | POLLHUP
| POLLERR | POLLHUP
fds.events = POLLIN | POLLERR | POLLHUP;
fds.events = POLLIN | POLLERR | POLLHUP;