FD_ISSET
if (e < 0 || FD_ISSET(s->rs_fd, &rfds))
if (din && FD_ISSET(fileno(din), &mask)) {
if (FD_ISSET(ifd, &ready)) {
if (ofd >= 0 && pty_master >= 0 && FD_ISSET(pty_master, &ready)) {
else if (FD_ISSET(ofd, &writey)) {
else if (FD_ISSET(pty_master, &writey)) {
if (!FD_ISSET(rem, &remset))
if (FD_ISSET(rfd2, &readyset)) {
if (FD_ISSET(rem, &readyset)) {
if (FD_ISSET(net, &excepts)) {
if (FD_ISSET(net, &xbits)) {
if (FD_ISSET(net, &ibits)) {
if (FD_ISSET(tin, &ibits)) {
if (FD_ISSET(net, &obits)) {
if (FD_ISSET(tout, &obits)) {
if (FD_ISSET(s, &ready)) {
if (FD_ISSET(pv[0], &ready)) {
} while (FD_ISSET(s, &readfrom) ||
FD_ISSET(pv[0], &readfrom));
if (FD_ISSET(rt_sock, &ibits)) {
if (rdisc_sock >= 0 && FD_ISSET(rdisc_sock, &ibits)) {
if (rdisc_mib_sock >= 0 && FD_ISSET(rdisc_mib_sock, &ibits)) {
if (rip_sock >= 0 && FD_ISSET(rip_sock, &ibits)) {
} while ((port && FD_ISSET(s, &readfrom)) ||
(port && FD_ISSET(pv[0], &readfrom)) ||
(do_encrypt && FD_ISSET(f, &readfrom)) ||
(do_encrypt && FD_ISSET(pw[0], &readfrom)));
if (port && FD_ISSET(pv[0], &ready)) {
if (port && FD_ISSET(s, &ready)) {
if (do_encrypt && FD_ISSET(pw[0], &ready)) {
if (do_encrypt && FD_ISSET(f, &ready)) {
if (FD_ISSET(net, &xbits)) {
if (FD_ISSET(net, &ibits)) {
if (FD_ISSET(net, &obits) && (nfrontp - nbackp) > 0)
if (FD_ISSET(manager, &obits) && (pfrontp - pbackp) > 0)
(FD_ISSET(recv_sock6, &fds))) {
if ((recv_sock != -1) && (FD_ISSET(recv_sock, &fds))) {
if (FD_ISSET(trans->tr_fd, &readfds))
if (FD_ISSET(0, &readfd)) {
if (FD_ISSET(conns[i]->fd, &sout.rfds))
if (FD_ISSET(conns[i]->fd, &sout.wfds))
&& ! FD_ISSET(sstate.max-1, &sstate.rfds)
&& ! FD_ISSET(sstate.max-1, &sstate.wfds)
if (FD_ISSET(gpipe, &read_fd)) {
if (FD_ISSET(handler->fh_fd, &rfds) &&
if (FD_ISSET(handler->fh_fd, &wfds) &&
if (FD_ISSET(handler->fh_fd, &efds) &&
if (FD_ISSET(handler->fh_fd, &rfds)) {
if (FD_ISSET(handler->fh_fd, &wfds)) {
if (FD_ISSET(handler->fh_fd, &efds)) {
# define SM_FD_ISSET(fd, pfdset) FD_ISSET(fd, pfdset)
return FD_ISSET(sd, &rd_set) || FD_ISSET(sd, &exc_set);
# define FD_IS_RD_EXC(sd, rds, excs) FD_ISSET(sd, &(excs))
# define FD_IS_WR_RDY(sd, wrs) FD_ISSET((sd), &(wrs))
# define FD_IS_RD_RDY(sd, rds, excs) FD_ISSET((sd), &(rds))
FD_ISSET(fd, &readfds) &&
if (FD_ISSET(conns[i].fd, &seltemp->rfds))
if (FD_ISSET(conns[i].fd, &seltemp->wfds))
if (FD_ISSET(conns[i].fd, &seltemp->xfds))
int r = FD_ISSET(i, rfds);
int w = wfds && FD_ISSET(i, wfds);
int x = xfds && FD_ISSET(i, xfds);
&& ! FD_ISSET(selstate->max-1, &selstate->rfds)
&& ! FD_ISSET(selstate->max-1, &selstate->wfds)
&& ! FD_ISSET(selstate->max-1, &selstate->xfds))
if (FD_ISSET(ibp->ib_fd, &rset) == 0) {
if (ret < 0 || FD_ISSET(ilp->il_sd, &err_set) ||
!FD_ISSET(ilp->il_sd, &read_set))
if (FD_ISSET(ilp->il_sd, &err_set) ||
!FD_ISSET(ilp->il_sd, &read_set))
rc = FD_ISSET( sb->sb_sd,
&& FD_ISSET( fds[i].lpoll_fd, &readfds )) {
&& FD_ISSET( fds[i].lpoll_fd, &writefds )) {
if (FD_ISSET(sockfd, &wset) || FD_ISSET(sockfd, &rset)) {
if (FD_ISSET(sockfd, &eset)) {
if (FD_ISSET(sockfd, &rset) || FD_ISSET(sockfd, &wset)) {
if ( !FD_ISSET( sb->sb_sd,
if ( !FD_ISSET( sb->sb_sd,
if ( FD_ISSET( sb->sb_sd,
if ( FD_ISSET( sb->sb_sd,
rc = FD_ISSET( sb->sb_sd,
if (FD_ISSET(n, fdset)) {
if (FD_ISSET(i, readfds))
if (fd < FD_SETSIZE && FD_ISSET(fd, &svc_fdset)) {
!FD_ISSET(del->fd, &ctx->nonblockBefore) &&
if (FD_ISSET(del->fd, &ctx->rdLast)) {
if (FD_ISSET(del->fd, &ctx->wrLast)) {
if (FD_ISSET(del->fd, &ctx->exLast)) {
if (FD_ISSET(x, &ctx->rdNext) == 0 &&
FD_ISSET(x, &ctx->wrNext) == 0 &&
FD_ISSET(x, &ctx->exNext) == 0)
if (FD_ISSET(fd, &ctx->rdLast))
if (FD_ISSET(fd, &ctx->wrLast))
if (FD_ISSET(fd, &ctx->exLast))
if (FD_ISSET(i, &ctx->rdLast))
if (FD_ISSET(i, &ctx->wrLast))
if (FD_ISSET(i, &ctx->exLast))
if (FD_ISSET(s, &rd) == 0)
if (FD_ISSET(s, &fdset)) {
if (FD_ISSET(s2, &fdset)) {
} else if(FD_ISSET(fd, &rfds)) {
if(node->ur.fn && FD_ISSET(node->fd, &ufds)) {
} else if(node->rd.fn && FD_ISSET(node->fd, &rfds)) {
} else if(node->wr.fn && FD_ISSET(node->fd, &wfds)) {
if (!((ret > 0) && FD_ISSET(sockfd, &readfds) &&
if (FD_ISSET(i, a) != FD_ISSET(i, b))
printf("fd %d: %d should be %d\n", i, FD_ISSET(i, a),
FD_ISSET(i, b));
if (FD_ISSET(i, a))
} while (!FD_ISSET(sock, &readfds));