Home
last modified time | relevance | path

Searched refs:FD_ISSET (Results 1 – 25 of 85) sorted by relevance

1234

/dragonfly/usr.sbin/ngctl/
H A Dmain.c228 if (!FD_ISSET(0, &rfds)) in DoInteractive()
233 if (FD_ISSET(csock, &rfds)) in DoInteractive()
237 if (FD_ISSET(dsock, &rfds)) { in DoInteractive()
255 if (FD_ISSET(0, &rfds)) { in DoInteractive()
/dragonfly/test/testcases/io/select_1/
H A Dselect_1.c54 assert(FD_ISSET(1, &wset)); in test_select()
72 assert(FD_ISSET(des[0], &rset)); in test_select()
/dragonfly/test/testcases/io/pselect_1/
H A Dpselect_1.c56 assert(FD_ISSET(1, &wset)); in test_pselect()
74 assert(FD_ISSET(des[0], &rset)); in test_pselect()
/dragonfly/usr.bin/talk/
H A Dio.c106 if (FD_ISSET(sockt, &read_set)) { in talk()
115 if (FD_ISSET(fileno(stdin), &read_set)) { in talk()
/dragonfly/games/hunt/huntd/
H A Ddriver.c190 if (FD_ISSET(Socket, &Have_inp)) in main()
197 if (FD_ISSET(fd, &Have_inp) && answer_next(sp)) { in main()
250 if (FD_ISSET(Server_socket, &Have_inp)) in main()
254 if (FD_ISSET(Status, &Have_inp)) in main()
259 if (FD_ISSET(pp->p_fd, &read_fds)) { in main()
266 if (FD_ISSET(pp->p_fd, &read_fds)) { in main()
925 if (!FD_ISSET(pp->p_fd, &Have_inp)) in havechar()
/dragonfly/usr.sbin/nghook/
H A Dmain.c133 if (FD_ISSET(dsock, &rfds)) { in main()
159 if (FD_ISSET(0, &rfds)) { in main()
/dragonfly/contrib/gdb-7/gdb/
H A Devent-loop.c664 if (FD_ISSET (i - 1, &gdb_notifier.check_masks[0]) in delete_file_handler()
665 || FD_ISSET (i - 1, &gdb_notifier.check_masks[1]) in delete_file_handler()
666 || FD_ISSET (i - 1, &gdb_notifier.check_masks[2])) in delete_file_handler()
898 if (FD_ISSET (file_ptr->fd, &gdb_notifier.ready_masks[0])) in gdb_wait_for_event()
900 if (FD_ISSET (file_ptr->fd, &gdb_notifier.ready_masks[1])) in gdb_wait_for_event()
902 if (FD_ISSET (file_ptr->fd, &gdb_notifier.ready_masks[2])) in gdb_wait_for_event()
/dragonfly/libexec/telnetd/
H A Dtelnetd.c946 if (FD_ISSET(net, &xbits)) { in telnet()
953 if (FD_ISSET(net, &ibits)) { in telnet()
1027 if (FD_ISSET(p, &ibits)) { in telnet()
1107 if (FD_ISSET(f, &obits) && (nfrontp - nbackp) > 0) in telnet()
1111 if (FD_ISSET(p, &obits) && (pfrontp - pbackp) > 0) in telnet()
/dragonfly/usr.sbin/ppp/
H A Dmain.c595 if (FD_ISSET(i, rfds)) { in DoLoop()
604 if (FD_ISSET(i, wfds)) { in DoLoop()
613 if (FD_ISSET(i, efds)) { in DoLoop()
635 if (FD_ISSET(i, efds)) { in DoLoop()
H A Dether.c149 if (r && dev->cs >= 0 && FD_ISSET(dev->cs, r)) { in ether_RemoveFromSet()
408 result = dev->cs >= 0 && FD_ISSET(dev->cs, fdset); in ether_IsSet()
421 if (dev->cs >= 0 && FD_ISSET(dev->cs, fdset)) { in ether_DescriptorRead()
/dragonfly/usr.bin/telnet/
H A Dsys_bsd.c981 if (FD_ISSET(net, xbitsp)) { in process_rings()
990 if (FD_ISSET(net, ibitsp)) { in process_rings()
1103 if (FD_ISSET(tin, ibitsp)) { in process_rings()
1128 if (FD_ISSET(net, obitsp)) { in process_rings()
1132 if (FD_ISSET(tout, obitsp)) { in process_rings()
H A Dfdset.h42 #define FD_ISSET(n, p) ((p)->fds_bits[0] & (1<<(n))) macro
H A Dnetwork.c92 if (FD_ISSET(net, &excepts)) { in stilloob()
/dragonfly/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c418 if (FD_ISSET(ev->data.fev.fd, &set)) { in _nc_timed_wait()
496 && FD_ISSET(fd, &set)) in _nc_timed_wait()
499 && FD_ISSET(sp->_ifd, &set)) in _nc_timed_wait()
/dragonfly/lib/libssh/openbsd-compat/
H A Dopenbsd-compat.h345 # undef FD_ISSET
347 # define FD_ISSET(n, set) kludge_FD_ISSET(n, set) macro
/dragonfly/usr.sbin/sdpd/
H A Dserver.c312 if (!FD_ISSET(fd, &fdset)) in server_do()
351 assert(!FD_ISSET(cfd, &srv->fdset)); in server_accept_client()
436 assert(FD_ISSET(fd, &srv->fdset)); in server_process_request()
617 assert(FD_ISSET(fd, &srv->fdset)); in server_close_fd()
/dragonfly/sbin/routed/
H A Dmain.c491 if (FD_ISSET(rt_sock, &ibits)) { in main()
495 if (rdisc_sock >= 0 && FD_ISSET(rdisc_sock, &ibits)) { in main()
499 if (rip_sock >= 0 && FD_ISSET(rip_sock, &ibits)) { in main()
506 && FD_ISSET(ifp->int_rip_sock, &ibits)) { in main()
/dragonfly/lib/libc/isc/
H A Deventlib_p.h211 #undef FD_ISSET
212 #define FD_ISSET(fd, maskp) \ macro
/dragonfly/sbin/nos-tun/
H A Dnos-tun.c341 if(FD_ISSET(net,&rfds)) { in main()
353 if(FD_ISSET(tun,&rfds)) { in main()
/dragonfly/usr.sbin/ypserv/
H A Dyp_main.c149 if (FD_ISSET(resfd, &readfds)) { in yp_svc_run()
219 if (FD_ISSET(i, &svc_fdset)) in closedown()
/dragonfly/games/hunt/hunt/
H A Dplayit.c208 if (FD_ISSET(STDIN_FILENO, &readfds)) in getchr()
210 if (!FD_ISSET(Socket, &readfds)) in getchr()
H A Dlist.c94 if (fd != -1 && FD_ISSET(fd, &r)) in next_driver_fd()
100 if (FD_ISSET(probe_sock[i], &r)) in next_driver_fd()
/dragonfly/sys/sys/
H A D_fd_set.h66 #define FD_ISSET(n, p) \ macro
/dragonfly/usr.sbin/watch/
H A Dwatch.c357 if (opt_interactive && FD_ISSET(std_in, &fd_s)) { in main()
393 if (!FD_ISSET(snp_io, &fd_s)) in main()
/dragonfly/usr.sbin/rrenumd/
H A Drrenumd.c509 if (FD_ISSET(s4, &select_fd)) in main()
511 if (FD_ISSET(s6, &select_fd)) in main()

1234