Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Ddnsmasq.c519 fd_set rset, wset, eset; in main() local
522 FD_ZERO(&wset); in main()
559 FD_SET(daemon->helperfd, &wset); in main()
570 set_log_writer(&wset, &maxfd); in main()
572 if (select(maxfd+1, &rset, &wset, &eset, tp) < 0) in main()
575 FD_ZERO(&rset); FD_ZERO(&wset); FD_ZERO(&eset); in main()
580 check_log_writer(&wset); in main()
613 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) in main()
1173 fd_set rset, wset; in icmp_ping() local
1182 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()