Lines Matching refs:wset
471 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()
1070 set_log_writer(&wset, &maxfd); in icmp_ping()
1072 if (select(maxfd + 1, &rset, &wset, NULL, &tv) < 0) { in icmp_ping()
1074 FD_ZERO(&wset); in icmp_ping()
1079 check_log_writer(&wset); in icmp_ping()