Searched refs:read_fds (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | fifo_rdwr_bug.c | 53 fd_set read_fds; in main() local 70 FD_ZERO(&read_fds); in main() 71 FD_SET(fd, &read_fds); in main() 77 switch (select(fd + 1, &read_fds, (fd_set *) 0, &except_fds, &tv)) { in main() 81 if (FD_ISSET(fd, &read_fds)) { in main()
|
| H A D | fifo_rdonly_bug.c | 77 fd_set read_fds; in main() local 103 FD_ZERO(&read_fds); in main() 104 FD_SET(fd, &read_fds); in main() 110 switch (select(fd + 1, &read_fds, (fd_set *) 0, &except_fds, &tv)) { in main() 117 } else if (FD_ISSET(fd, &read_fds)) { in main()
|
| H A D | poll_fd.c | 154 fd_set *read_fds; in poll_fd_bsd() local 180 read_fds = &req_fds; in poll_fd_bsd() 183 read_fds = 0; in poll_fd_bsd() 198 switch (select(fd + 1, read_fds, write_fds, &except_fds, tp)) { in poll_fd_bsd()
|
| /netbsd-src/external/bsd/mdocml/dist/ |
| H A D | mandocd.c | 52 static int read_fds(int, int *); 58 read_fds(int clientfd, int *fds) in read_fds() function 201 while (state == 1 && (state = read_fds(clientfd, fds)) == 1) { in main()
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | man.c | 476 fd_set read_fds; in read_from_fd() local 481 FD_ZERO (&read_fds); in read_from_fd() 482 FD_SET (fd, &read_fds); in read_from_fd() 484 select_result = select (fd + 1, fd_set_cast (&read_fds), 0, 0, &timeout); in read_from_fd()
|
| /netbsd-src/external/bsd/dhcpcd/dist/src/ |
| H A D | eloop.c | 1120 fd_set read_fds, write_fds; in eloop_run_pselect() local 1125 FD_ZERO(&read_fds); in eloop_run_pselect() 1132 FD_SET(e->fd, &read_fds); in eloop_run_pselect() 1144 n = pselect(maxfd + 1, &read_fds, &write_fds, NULL, ts, sigmask); in eloop_run_pselect() 1154 if (FD_ISSET(e->fd, &read_fds)) in eloop_run_pselect()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/unix/ |
| H A D | socket.c | 423 fd_set *read_fds; member 765 FD_SET(fd, thread->read_fds); in watch_fd() 859 FD_CLR(fd, thread->read_fds); in unwatch_fd() 3567 memmove(thread->read_fds_copy, thread->read_fds, in netthread() 3795 thread->read_fds = isc_mem_get(thread->manager->mctx, in setup_thread() 3803 memset(thread->read_fds, 0, thread->fd_bufsize); in setup_thread() 3838 if (thread->read_fds != NULL) { in cleanup_thread() 3839 isc_mem_put(mctx, thread->read_fds, thread->fd_bufsize); in cleanup_thread()
|