Home
last modified time | relevance | path

Searched refs:wset (Results 1 – 4 of 4) sorted by relevance

/external/openssh/
Dssh-pkcs11-helper.c274 fd_set *rset, *wset; in main() local
306 wset = xmalloc(set_size); in main()
310 memset(wset, 0, set_size); in main()
323 FD_SET(out, wset); in main()
325 if (select(max+1, rset, wset, NULL, NULL) < 0) { in main()
346 if (FD_ISSET(out, wset)) { in main()
Dsftp-server.c1502 fd_set *rset, *wset; in sftp_server_main() local
1632 wset = xcalloc(howmany(max + 1, NFDBITS), sizeof(fd_mask)); in sftp_server_main()
1644 memset(wset, 0, set_size); in sftp_server_main()
1661 FD_SET(out, wset); in sftp_server_main()
1663 if (select(max+1, rset, wset, NULL, NULL) < 0) { in sftp_server_main()
1685 if (FD_ISSET(out, wset)) { in sftp_server_main()
/external/dnsmasq/src/
Ddnsmasq.c471 fd_set rset, wset, eset; in main() local
474 FD_ZERO(&wset); in main()
509 FD_SET(daemon->helperfd, &wset); in main()
521 set_log_writer(&wset, &maxfd); in main()
523 if (select(maxfd + 1, &rset, &wset, &eset, tp) < 0) { in main()
526 FD_ZERO(&wset); in main()
532 check_log_writer(&wset); in main()
559 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) helper_write(); in main()
1058 fd_set rset, wset; in icmp_ping() local
1067 FD_ZERO(&wset); in icmp_ping()
[all …]
/external/mdnsresponder/mDNSShared/
Ddnsextd.c326 fd_set wset; in MySend() local
333 FD_ZERO(&wset); in MySend()
337 FD_SET( fd, &wset ); in MySend()
338 selectval = select( fd+1, NULL, &wset, NULL, &timeout); in MySend()
340 if (!selectval || !FD_ISSET(fd, &wset)) { Log("MySend - timeout"); return -1; } in MySend()