HomeSort by: relevance | last modified time | path
    Searched refs:fdset (Results 1 - 12 of 12) sorted by relevancy

  /src/distrib/alpha/instkernel/
Makefile 3 SUBDIR= ramdisk .WAIT instkernel .WAIT fdset cd-hd-tape
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/sys/
select.d 43 void FD_CLR(int fd, fd_set* fdset);
44 int FD_ISSET(int fd, const(fd_set)* fdset);
45 void FD_SET(int fd, fd_set* fdset);
46 void FD_ZERO(fd_set* fdset);
79 extern (D) void FD_CLR( int fd, fd_set* fdset ) pure
81 fdset.fds_bits[__FDELT( fd )] &= ~__FDMASK( fd );
84 extern (D) bool FD_ISSET( int fd, const(fd_set)* fdset ) pure
86 return (fdset.fds_bits[__FDELT( fd )] & __FDMASK( fd )) != 0;
89 extern (D) void FD_SET( int fd, fd_set* fdset ) pure
91 fdset.fds_bits[__FDELT( fd )] |= __FDMASK( fd )
    [all...]
  /src/sys/arch/zaurus/stand/zboot/
unixcons.c 128 fd_set fdset; local
135 FD_ZERO(&fdset);
138 FD_SET(fd, &fdset);
140 n = uselect(nfds, &fdset, NULL, NULL, &tv);
147 if (FD_ISSET(fd, &fdset)) {
  /src/lib/libc/rpc/
svc_fdset.c 64 fd_set *fdset; member in struct:svc_fdset
102 fprintf(stderr, "%p[%d] fd_set<", fds->fdset, fds->fdmax);
104 if (!FD_ISSET(i, fds->fdset))
146 while (fds->fdmax >= 0 && !FD_ISSET(fds->fdmax, fds->fdset))
151 svc_fdset = *(__fd_set_256 *)(void *)__svc_fdset.fdset;
165 free(fds->fdset);
259 if (fds->fdset && fd < fds->fdsize) {
266 char *newfdset = realloc(fds->fdset, __NFD_BYTES(fd));
274 fds->fdset = (void *)newfdset;
303 DPRINTF("switching to %p", fds->fdset);
    [all...]
  /src/games/hunt/huntd/
extern.c 48 struct pollfd fdset[3+MAXPL+MAXMON]; variable in typeref:struct:pollfd
driver.c 246 while (poll(fdset, 3+MAXPL+MAXMON, INFTIM) < 0)
252 if (!localmode && fdset[2].revents & POLLIN) {
313 if (fdset[0].revents & POLLIN)
320 if (fdset[1].revents & POLLIN)
323 if (fdset[i + 3].revents & POLLIN)
330 if (fdset[i + MAXPL + 3].revents & POLLIN)
338 if (poll(fdset, 3+MAXPL+MAXMON, linger) > 0) {
477 fdset[0].fd = huntsock;
478 fdset[0].events = POLLIN;
479 fdset[1].fd = statsock
    [all...]
hunt.h 141 extern struct pollfd fdset[];
answer.c 207 fdset[i].fd = newsock;
208 fdset[i].events = POLLIN;
  /src/usr.sbin/sdpd/
server.c 102 FD_ZERO(&srv->fdset);
204 FD_SET(fd, &srv->fdset);
264 FD_SET(fd, &srv->fdset);
307 fd_set fdset; local
312 memcpy(&fdset, &srv->fdset, sizeof(fdset));
313 n = select(srv->fdmax + 1, &fdset, NULL, NULL, NULL);
319 srv->fdmax + 1, &fdset, strerror(errno), errno);
325 if (!FD_ISSET(fd, &fdset))
    [all...]
sdpd.h 115 fd_set fdset; /* current descriptor set */ member in struct:server
  /src/external/bsd/nvi/dist/ex/
ex_script.c 225 fd_set fdset; local
232 FD_ZERO(&fdset);
233 FD_SET(master, &fdset);
234 switch (select(master + 1, &fdset, NULL, NULL, &tv)) {
337 sscr_check_input(SCR *sp, fd_set *fdset, int maxfd)
345 loop: memcpy(&rdfd, fdset, sizeof(fd_set));
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
socket.d 2424 auto fdset = set.toFd_set();
2426 assert(cast(bool) set.isSet(fd) == cast(bool)(() @trusted => FD_ISSET(fd, fdset))());

Completed in 33 milliseconds