Searched defs:readfds (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/ucblib/librpcsoc/
H A Drtime.c82 fd_set readfds; local
108 FD_ZERO(&readfds);
109 FD_SET(s, &readfds);
110 res = select(__rpc_dtbsize(), &readfds, NULL,
H A Dclnt_tcp.c414 fd_set readfds; local
421 readfds = mask;
423 &readfds, NULL, NULL, &(ct->ct_wait))) {
H A Dsvc_tcp.c298 fd_set readfds; local
303 readfds = mask;
304 if (select(__rpc_dtbsize(), &readfds, NULL, NULL,
311 } while (!FD_ISSET(sock, &readfds));
H A Dclnt_udp.c231 fd_set readfds; local
293 readfds = mask;
294 switch (select(__rpc_dtbsize(), &readfds, NULL,
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c362 fd_set readfds; local
370 FD_ZERO(&readfds);
371 SM_FD_SET(fp->f_file, &readfds);
374 if (select(fp->f_file + 1, FDSET_CAST &readfds,
376 SM_FD_ISSET(fp->f_file, &readfds))
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_stats.c147 fd_set readfds; local
338 FD_ZERO(&readfds);
339 FD_SET(fd, &readfds);
343 if (select(fd + 1, &readfds, (fd_set *)0, (fd_set *)0,
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dresult.c1077 fd_set readfds; local
1079 FD_ZERO( &readfds );
1080 FD_SET( ld->ld_sbp->sb_sd, &readfds );
1083 rc = select( tblsize, &readfds, 0, 0, timeout ) );
1120 fd_set readfds;
1123 FD_ZERO( &readfds );
1124 FD_SET( ld->ld_sbp->sb_sd, &readfds );
1128 rc = ld->ld_select_fn( 1, &readfds, 0, 0, timeout );
1131 rc = ld->ld_extselect_fn( ld->ld_ext_session_arg, 1, &readfds, 0,
1135 rc = select( 1, &readfds,
[all...]
H A Dos-ip.c145 extern int _select(int nfds, fd_set *readfds, fd_set *writefds,
1540 fd_set readfds, writefds; local
1547 FD_ZERO( &readfds );
1560 FD_SET( fds[i].lpoll_fd, &readfds );
1585 rc = iofns->liof_select( maxfd, &readfds, &writefds, NULL, tvp );
1599 && FD_ISSET( fds[i].lpoll_fd, &readfds )) {
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c125 fd_set readfds, mask; local
387 readfds = mask;
389 switch (select(dtbsize, &readfds,
420 if (FD_ISSET(trans->tr_fd, &readfds))
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c83 struct fd_set readfds; local
101 FD_ZERO(&readfds);
102 FD_SET(sockfd, &readfds);
107 ret = select(sockfd + 1, &readfds, NULL, NULL, &tv);
108 if (!((ret > 0) && FD_ISSET(sockfd, &readfds) &&
/illumos-gate/usr/src/lib/efcode/engine/
H A Denv.c104 fd_set readfds; local
108 FD_ZERO(&readfds);
109 FD_SET(fileno(stdin), &readfds); local
112 ret = select(fileno(stdin) + 1, &readfds, NULL, NULL, &timeval);
113 if (FD_ISSET(fileno(stdin), &readfds))
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c321 fd_set readfds; local
324 FD_ZERO(&readfds);
325 FD_SET(reqsock, &readfds);
329 n = select(reqsock + 1, &readfds, NULL, NULL, &dally);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddaemon.c307 fd_set readfds; local
311 FD_ZERO(&readfds);
328 &readfds);
337 SM_FD_SET(ControlSocket, &readfds);
344 t = select(highest + 1, FDSET_CAST &readfds,
391 &readfds))
425 SM_FD_ISSET(ControlSocket, &readfds))
H A Dsrvrsmtp.c1052 fd_set readfds; local
1070 FD_ZERO(&readfds);
1071 SM_FD_SET(fd, &readfds);
1073 if (select(fd + 1, FDSET_CAST &readfds,
1075 FD_ISSET(fd, &readfds) &&
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc.c1264 fd_set readfds; local
1266 FD_ZERO(&readfds);
1267 readfds.fds_bits[0] = rdfds;
1268 svc_getreqset(&readfds);
1272 svc_getreqset(fd_set *readfds) argument
1278 if (FD_ISSET(i, readfds))
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c1394 fd_set readfds, exceptfds; local
1397 FD_ZERO(&readfds);
1399 FD_SET(fd, &readfds);
1406 while (select(fd + 1, &readfds, (fd_set *) 0,
1415 FD_SET(fd, &readfds);
/illumos-gate/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientstub.c272 fd_set readfds; local
278 fs = &readfds;
298 if (fs != &readfds)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c1652 mDNSlocal void mDNSPosixAddToFDSet(int *nfds, fd_set *readfds, int s) argument
1655 FD_SET(s, readfds);
1658 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout) argument
1668 if (m->p->unicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket4);
1670 if (m->p->unicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket6);
1674 if (info->multicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket4);
1676 if (info->multicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket6);
1693 mDNSexport void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds) argument
1697 assert(readfds != NULL);
1700 if (m->p->unicastSocket4 != -1 && FD_ISSET(m->p->unicastSocket4, readfds))
[all...]

Completed in 100 milliseconds