Home
last modified time | relevance | path

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

/haiku/src/tests/system/network/
H A Dselect_test2.c18 struct fd_set fdr, fdw, fde; in main() local
39 FD_ZERO(&fdr); in main()
40 FD_SET(s, &fdr); in main()
51 rv = select(s + 1, &fdr, NULL, &fde, &tv); in main()
55 FD_ZERO(&fdr); in main()
56 FD_SET(s, &fdr); in main()
57 FD_SET(f, &fdr); in main()
65 rv = select(f +1, &fdr, NULL, NULL, NULL); in main()
69 if (FD_ISSET(s, &fdr)) in main()
75 if (FD_ISSET(f, &fdr)) in main()
H A Dselect_test.c18 struct fd_set fdr, fdw, fde; in main() local
28 FD_ZERO(&fdr); in main()
29 FD_SET(s, &fdr); in main()
40 rv = select(s + 1, &fdr, NULL, &fde, &tv); in main()
47 FD_ZERO(&fdr); in main()
48 FD_SET(s, &fdr); in main()
55 rv = select(s +1, &fdr, &fdw, &fde, NULL); in main()
58 if (FD_ISSET(s, &fdr)) in main()
H A Dselect_test_big.c21 struct fd_set fdr, fdw, fde; in main() local
51 FD_ZERO(&fdr); in main()
55 FD_SET(s[i], &fdr); in main()
67 rv = select(max + 1, &fdr, NULL, &fde, &tv); in main()
74 FD_ZERO(&fdr); in main()
76 FD_SET(s[i], &fdr); in main()
85 rv = select(max +1, &fdr, &fdw, &fde, NULL); in main()
89 if (FD_ISSET(s[0], &fdr)) in main()