Home
last modified time | relevance | path

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

/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/openssh/
Dsftp-server.c1569 fd_set *rset, *wset; in sftp_server_main() local
1700 wset = xcalloc(howmany(max + 1, NFDBITS), sizeof(fd_mask)); in sftp_server_main()
1712 memset(wset, 0, set_size); in sftp_server_main()
1729 FD_SET(out, wset); in sftp_server_main()
1731 if (select(max+1, rset, wset, NULL, NULL) == -1) { in sftp_server_main()
1753 if (FD_ISSET(out, wset)) { in sftp_server_main()
/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()