Home
last modified time | relevance | path

Searched refs:wfds (Results 1 – 5 of 5) sorted by relevance

/openbsd/usr.sbin/sasyncd/
H A Dsasyncd.c60 fd_set *rfds, *wfds; in sasyncd_run() local
73 wfds = malloc(fdsetsize); in sasyncd_run()
74 if (!wfds) { in sasyncd_run()
90 memset(wfds, 0, fdsetsize); in sasyncd_run()
92 n = net_set_pending_wfds(wfds); in sasyncd_run()
97 pfkey_set_pending_wfd(wfds); in sasyncd_run()
108 n = pselect(maxfd, rfds, wfds, NULL, timeout, NULL); in sasyncd_run()
116 net_send_messages(wfds); in sasyncd_run()
118 pfkey_send_message(wfds); in sasyncd_run()
130 free(wfds); in sasyncd_run()
/openbsd/regress/sys/fifofs/
H A Dfifotest.c319 fd_set *rfds = NULL, *wfds = NULL; in doselect() local
339 wfds = calloc(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask)); in doselect()
340 if (wfds == NULL) { in doselect()
344 FD_SET(wfd, wfds); in doselect()
348 wfds ? " write" : rfds ? "" : " (none)", timeout); in doselect()
352 nready = select(maxfd + 1, rfds, wfds, NULL, tvp); in doselect()
361 if (wfds != NULL && FD_ISSET(wfd, wfds)) in doselect()
366 free(wfds); in doselect()
/openbsd/sbin/isakmpd/
H A Disakmpd.c388 fd_set *rfds, *wfds; in main() local
445 wfds = malloc(mask_size); in main()
446 if (!wfds) in main()
499 bzero(wfds, mask_size); in main()
500 m = transport_pending_wfd_set(wfds); in main()
508 n = pselect(n, rfds, wfds, NULL, timeout, NULL); in main()
523 transport_send_messages(wfds); in main()
/openbsd/gnu/usr.bin/binutils/gdb/osf-share/
H A Dcma_tcb_defs.h83 cma__t_file_mask *wfds; member
/openbsd/gnu/usr.bin/perl/win32/include/sys/
H A Dsocket.h75 int win32_select (int nfds, Perl_fd_set *rfds, Perl_fd_set *wfds, Perl_fd_set *xfds,