Home
last modified time | relevance | path

Searched refs:readfds (Results 1 – 23 of 23) sorted by relevance

/titanic_50/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 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_tcp.c414 fd_set readfds; local
421 readfds = mask;
423 &readfds, NULL, NULL, &(ct->ct_wait))) {
H A Dclnt_udp.c231 fd_set readfds; local
293 readfds = mask;
294 switch (select(__rpc_dtbsize(), &readfds, NULL,
/titanic_50/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))
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.h71 extern void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout);
72 extern void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds);
H A DmDNSPosix.c1653 mDNSlocal void mDNSPosixAddToFDSet(int *nfds, fd_set *readfds, int s) in mDNSPosixAddToFDSet() argument
1656 FD_SET(s, readfds); in mDNSPosixAddToFDSet()
1659 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout) in mDNSPosixGetFDSet() argument
1669 if (m->p->unicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket4); in mDNSPosixGetFDSet()
1671 if (m->p->unicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket6); in mDNSPosixGetFDSet()
1675 … if (info->multicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket4); in mDNSPosixGetFDSet()
1677 … if (info->multicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket6); in mDNSPosixGetFDSet()
1694 mDNSexport void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds) in mDNSPosixProcessFDSet() argument
1698 assert(readfds != NULL); in mDNSPosixProcessFDSet()
1701 if (m->p->unicastSocket4 != -1 && FD_ISSET(m->p->unicastSocket4, readfds)) in mDNSPosixProcessFDSet()
[all …]
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dsd_stats.c147 fd_set readfds; in sd_stats_lintmain() local
338 FD_ZERO(&readfds); in sd_stats_lintmain()
339 FD_SET(fd, &readfds); in sd_stats_lintmain()
343 if (select(fd + 1, &readfds, (fd_set *)0, (fd_set *)0, in sd_stats_lintmain()
/titanic_50/usr/src/lib/efcode/engine/
H A Denv.c104 fd_set readfds; in keyquestion() local
108 FD_ZERO(&readfds); in keyquestion()
109 FD_SET(fileno(stdin), &readfds); in keyquestion()
112 ret = select(fileno(stdin) + 1, &readfds, NULL, NULL, &timeval); in keyquestion()
113 if (FD_ISSET(fileno(stdin), &readfds)) in keyquestion()
/titanic_50/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, 0, 0, timeout ) );
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 )) {
/titanic_50/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c83 struct fd_set readfds; in _nss_mdns_queryrecord() local
101 FD_ZERO(&readfds); in _nss_mdns_queryrecord()
102 FD_SET(sockfd, &readfds); in _nss_mdns_queryrecord()
107 ret = select(sockfd + 1, &readfds, NULL, NULL, &tv); in _nss_mdns_queryrecord()
108 if (!((ret > 0) && FD_ISSET(sockfd, &readfds) && in _nss_mdns_queryrecord()
/titanic_50/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c125 fd_set readfds, mask; in nfs_cast() local
387 readfds = mask; in nfs_cast()
389 switch (select(dtbsize, &readfds, in nfs_cast()
420 if (FD_ISSET(trans->tr_fd, &readfds)) in nfs_cast()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c1394 fd_set readfds, exceptfds; in catfile() local
1397 FD_ZERO(&readfds); in catfile()
1399 FD_SET(fd, &readfds); in catfile()
1406 while (select(fd + 1, &readfds, (fd_set *) 0, in catfile()
1415 FD_SET(fd, &readfds); in catfile()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/dns-sd/
H A Ddns-sd.c1251 fd_set readfds;
1262 FD_ZERO(&readfds);
1265 if (client ) FD_SET(dns_sd_fd, &readfds);
1266 if (client_pa) FD_SET(dns_sd_fd2, &readfds);
1272 result = select(nfds, &readfds, (fd_set*)NULL, (fd_set*)NULL, &tv);
1276 … if (client && FD_ISSET(dns_sd_fd, &readfds)) err = DNSServiceProcessResult(client );
1277 … else if (client_pa && FD_ISSET(dns_sd_fd2, &readfds)) err = DNSServiceProcessResult(client_pa);
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c321 fd_set readfds; in main() local
324 FD_ZERO(&readfds); in main()
325 FD_SET(reqsock, &readfds); in main()
329 n = select(reqsock + 1, &readfds, NULL, NULL, &dally); in main()
/titanic_50/usr/src/lib/libnsl/rpc/
H A Dsvc.c1265 fd_set readfds; in svc_getreq() local
1267 FD_ZERO(&readfds); in svc_getreq()
1268 readfds.fds_bits[0] = rdfds; in svc_getreq()
1269 svc_getreqset(&readfds); in svc_getreq()
1273 svc_getreqset(fd_set *readfds) in svc_getreqset() argument
1279 if (FD_ISSET(i, readfds)) in svc_getreqset()
/titanic_50/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) &&
/titanic_50/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h297 fd_set *readfds, fd_set *writefds, fd_set *errorfds,
/titanic_50/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientstub.c271 fd_set readfds; in more_bytes() local
277 fs = &readfds; in more_bytes()
297 if (fs != &readfds) in more_bytes()
/titanic_50/usr/src/lib/libc/port/
H A Dllib-lc854 fd_set *_RESTRICT_KYWD readfds,
860 fd_set *_RESTRICT_KYWD readfds,
/titanic_50/usr/src/lib/libnsl/common/
H A Dllib-lnsl790 void svc_getreqset(fd_set *readfds);