sbin/mount_portal/puffs_portal.c
225
return readfd(pufbuf, fd, done);
sys/rump/librump/rumpvfs/rumpfs.c
177
int readfd;
sys/rump/librump/rumpvfs/rumpfs.c
196
#define rn_readfd rn_u.reg.readfd
tests/kernel/kqueue/t_empty.c
105
ATF_REQUIRE(setsockopt(readfd, SOL_SOCKET,
tests/kernel/kqueue/t_empty.c
111
rv = read(readfd, buf, sizeof(buf));
tests/kernel/kqueue/t_empty.c
50
test_empty(int readfd, int writefd, bool is_tcp)
tests/kernel/kqueue/t_empty.c
85
ATF_REQUIRE(setsockopt(readfd, SOL_SOCKET,
tests/lib/libc/sys/t_poll.c
1095
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1097
pollclosed_fifo0_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1099
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1110
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1112
pollclosed_fifo0_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1114
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1125
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1133
pollclosed_fifo1_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1135
check_pollclosed_immediate_readsome(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1146
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1148
pollclosed_fifo1_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1150
check_pollclosed_immediate_readnone(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1161
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1163
pollclosed_fifo0_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1165
check_pollclosed_delayed_process(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1177
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1186
pollclosed_fifo1_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1188
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1200
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1202
pollclosed_fifo0_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1204
check_pollclosed_delayed_thread(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1216
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1225
pollclosed_fifo1_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1227
check_pollclosed_delayed_thread(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1239
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1241
pollclosed_fifo1_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1243
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1254
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1256
pollclosed_fifo1_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1258
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1269
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1277
pollclosed_fifo0_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1279
check_pollclosed_immediate_readsome(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1290
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1292
pollclosed_fifo0_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1294
check_pollclosed_immediate_readnone(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1305
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1307
pollclosed_fifo1_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1309
check_pollclosed_delayed_process(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1321
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1330
pollclosed_fifo0_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1332
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1344
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1346
pollclosed_fifo1_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1348
check_pollclosed_delayed_thread(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1360
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1369
pollclosed_fifo0_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1371
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1383
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1393
pollclosed_pipe_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1395
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1406
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1416
pollclosed_pipe_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1418
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1429
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1431
pollclosed_pipe_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1433
check_pollclosed_immediate_readsome(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1444
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1446
pollclosed_pipe_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1448
check_pollclosed_immediate_readnone(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1459
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1469
pollclosed_pipe_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1471
check_pollclosed_delayed_process(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1483
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1485
pollclosed_pipe_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1487
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1499
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1509
pollclosed_pipe_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1511
check_pollclosed_delayed_thread(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1523
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1525
pollclosed_pipe_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1527
check_pollclosed_delayed_thread(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1539
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1541
pollclosed_ptyapp_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1543
check_pollclosed_immediate_write(writefd, readfd, POLLHUP, EIO);
tests/lib/libc/sys/t_poll.c
1554
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1556
pollclosed_ptyapp_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1558
check_pollclosed_immediate_write(writefd, readfd, POLLHUP, EIO);
tests/lib/libc/sys/t_poll.c
1569
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1577
pollclosed_ptyhost_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1579
check_pollclosed_immediate_readsome(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1590
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1598
pollclosed_ptyhost_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1600
check_pollclosed_immediate_readnone(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1611
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1619
pollclosed_ptyapp_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1621
check_pollclosed_delayed_process(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1633
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1641
pollclosed_ptyhost_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1643
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1655
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1663
pollclosed_ptyapp_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1665
check_pollclosed_delayed_thread(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1677
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1685
pollclosed_ptyhost_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1687
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1699
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1701
pollclosed_ptyhost_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1703
check_pollclosed_immediate_write(writefd, readfd, POLLHUP, EIO);
tests/lib/libc/sys/t_poll.c
1714
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1716
pollclosed_ptyhost_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1718
check_pollclosed_immediate_write(writefd, readfd, POLLHUP, EIO);
tests/lib/libc/sys/t_poll.c
1729
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1737
pollclosed_ptyapp_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1739
check_pollclosed_immediate_readsome(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1750
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1758
pollclosed_ptyapp_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1760
check_pollclosed_immediate_readnone(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
1771
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1773
pollclosed_ptyhost_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1775
check_pollclosed_delayed_process(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1787
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1795
pollclosed_ptyapp_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1797
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1809
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1811
pollclosed_ptyhost_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1813
check_pollclosed_delayed_thread(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1825
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1833
pollclosed_ptyapp_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1835
check_pollclosed_delayed_thread(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1847
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1849
pollclosed_socketpair0_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1851
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1862
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1864
pollclosed_socketpair0_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1866
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1877
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1879
pollclosed_socketpair1_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1881
check_pollclosed_immediate_readsome(readfd, writefd, /*no POLLHUP*/0);
tests/lib/libc/sys/t_poll.c
1892
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1894
pollclosed_socketpair1_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1896
check_pollclosed_immediate_readnone(readfd, writefd, /*no POLLHUP*/0);
tests/lib/libc/sys/t_poll.c
1907
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1909
pollclosed_socketpair0_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1911
check_pollclosed_delayed_process(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1923
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1925
pollclosed_socketpair1_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1927
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1939
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1941
pollclosed_socketpair0_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1943
check_pollclosed_delayed_thread(writefd, readfd,
tests/lib/libc/sys/t_poll.c
1955
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1957
pollclosed_socketpair1_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
1959
check_pollclosed_delayed_thread(readfd, writefd,
tests/lib/libc/sys/t_poll.c
1971
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1973
pollclosed_socketpair1_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1975
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
1986
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
1988
pollclosed_socketpair1_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
1990
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
2001
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
2003
pollclosed_socketpair0_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
2005
check_pollclosed_immediate_readsome(readfd, writefd, /*no POLLHUP*/0);
tests/lib/libc/sys/t_poll.c
2016
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
2018
pollclosed_socketpair0_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
2020
check_pollclosed_immediate_readnone(readfd, writefd, /*no POLLHUP*/0);
tests/lib/libc/sys/t_poll.c
2031
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
2033
pollclosed_socketpair1_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
2035
check_pollclosed_delayed_process(writefd, readfd,
tests/lib/libc/sys/t_poll.c
2047
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
2049
pollclosed_socketpair0_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
2051
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
2063
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
2065
pollclosed_socketpair1_setup(&writefd, &readfd);
tests/lib/libc/sys/t_poll.c
2067
check_pollclosed_delayed_thread(writefd, readfd,
tests/lib/libc/sys/t_poll.c
2079
int writefd, readfd;
tests/lib/libc/sys/t_poll.c
2081
pollclosed_socketpair0_setup(&writefd, &readfd); /* reverse r/w */
tests/lib/libc/sys/t_poll.c
2083
check_pollclosed_delayed_process(readfd, writefd,
tests/lib/libc/sys/t_poll.c
538
check_read_eof(int readfd)
tests/lib/libc/sys/t_poll.c
544
RL(flags = fcntl(readfd, F_GETFL));
tests/lib/libc/sys/t_poll.c
545
RL(fcntl(readfd, F_SETFL, flags|O_NONBLOCK));
tests/lib/libc/sys/t_poll.c
547
RL(nread = read(readfd, &c, 1));
tests/lib/libc/sys/t_poll.c
550
RL(fcntl(readfd, F_SETFL, flags));
tests/lib/libc/sys/t_poll.c
554
check_pollclosed_delayed_write(int writefd, int readfd,
tests/lib/libc/sys/t_poll.c
611
check_pollclosed_delayed_write_fifopipesocket(int writefd, int readfd)
tests/lib/libc/sys/t_poll.c
614
check_pollclosed_delayed_write(writefd, readfd, POLLOUT, EPIPE);
tests/lib/libc/sys/t_poll.c
618
check_pollclosed_delayed_write_terminal(int writefd, int readfd)
tests/lib/libc/sys/t_poll.c
621
check_pollclosed_delayed_write(writefd, readfd, POLLHUP, EIO);
tests/lib/libc/sys/t_poll.c
625
check_pollclosed_delayed_read(int readfd, int writefd, int pollhup)
tests/lib/libc/sys/t_poll.c
641
pfd = (struct pollfd) { .fd = readfd, .events = POLLIN };
tests/lib/libc/sys/t_poll.c
642
fprintf(stderr, "poll %d\n", readfd);
tests/lib/libc/sys/t_poll.c
646
fprintf(stderr, "poll %d done nfds=%d\n", readfd, nfds);
tests/lib/libc/sys/t_poll.c
658
ATF_CHECK_EQ_MSG(pfd.fd, readfd, "pfd.fd=%d readfd=%d writefd=%d",
tests/lib/libc/sys/t_poll.c
659
pfd.fd, readfd, writefd);
tests/lib/libc/sys/t_poll.c
676
check_read_eof(readfd);
tests/lib/libc/sys/t_poll.c
677
check_read_eof(readfd);
tests/lib/libc/sys/t_poll.c
683
pfd = (struct pollfd) { .fd = readfd, .events = POLLIN };
tests/lib/libc/sys/t_poll.c
686
ATF_CHECK_EQ_MSG(pfd.fd, readfd, "pfd.fd=%d readfd=%d writefd=%d",
tests/lib/libc/sys/t_poll.c
687
pfd.fd, readfd, writefd);
tests/lib/libc/sys/t_poll.c
696
check_pollclosed_delayed_read_devfifopipe(int readfd, int writefd)
tests/lib/libc/sys/t_poll.c
699
check_pollclosed_delayed_read(readfd, writefd, POLLHUP);
tests/lib/libc/sys/t_poll.c
703
check_pollclosed_delayed_read_socket(int readfd, int writefd)
tests/lib/libc/sys/t_poll.c
706
check_pollclosed_delayed_read(readfd, writefd, /*no POLLHUP*/0);
tests/lib/libc/sys/t_poll.c
782
check_pollclosed_immediate_write(int writefd, int readfd, int expected,
tests/lib/libc/sys/t_poll.c
791
fprintf(stderr, "[immediate] close %d\n", readfd);
tests/lib/libc/sys/t_poll.c
792
RL(close(readfd));
tests/lib/libc/sys/t_poll.c
819
check_pollclosed_immediate_readnone(int readfd, int writefd, int pollhup)
tests/lib/libc/sys/t_poll.c
821
struct pollfd pfd = { .fd = readfd, .events = POLLIN };
tests/lib/libc/sys/t_poll.c
848
check_read_eof(readfd);
tests/lib/libc/sys/t_poll.c
849
check_read_eof(readfd);
tests/lib/libc/sys/t_poll.c
853
check_pollclosed_immediate_readsome(int readfd, int writefd, int pollhup)
tests/lib/libc/sys/t_poll.c
873
pfd = (struct pollfd) { .fd = readfd, .events = POLLIN };
tests/lib/libc/sys/t_poll.c
889
RL(nread = read(readfd, buf, sizeof(buf)));
tests/lib/libc/sys/t_poll.c
900
pfd = (struct pollfd) { .fd = readfd, .events = POLLIN };
tests/lib/libc/sys/t_poll.c
912
check_read_eof(readfd);
tests/lib/libc/sys/t_poll.c
913
check_read_eof(readfd);
tests/lib/libc/sys/t_poll.c
919
pfd = (struct pollfd) { .fd = readfd, .events = POLLIN };
tests/lib/libcurses/director/testlang_parse.y
55
extern struct pollfd readfd;
tests/lib/libpthread/t_cancellation.c
522
fd_set readfd;
tests/lib/libpthread/t_cancellation.c
525
FD_ZERO(&readfd);
tests/lib/libpthread/t_cancellation.c
528
FD_SET(fd[0], &readfd);
tests/lib/libpthread/t_cancellation.c
530
RL(pselect(fd[0] + 1, &readfd, NULL, NULL, &t, NULL));
tests/lib/libpthread/t_cancellation.c
690
fd_set readfd;
tests/lib/libpthread/t_cancellation.c
693
FD_ZERO(&readfd);
tests/lib/libpthread/t_cancellation.c
696
FD_SET(fd[0], &readfd);
tests/lib/libpthread/t_cancellation.c
698
RL(select(fd[0] + 1, &readfd, NULL, NULL, &t));
tests/lib/libpthread/t_compat_cancel.c
199
fd_set readfd;
tests/lib/libpthread/t_compat_cancel.c
202
FD_ZERO(&readfd);
tests/lib/libpthread/t_compat_cancel.c
205
FD_SET(fd[0], &readfd);
tests/lib/libpthread/t_compat_cancel.c
207
RL(pselect(fd[0] + 1, &readfd, NULL, NULL, &t, NULL));
tests/lib/libpthread/t_compat_cancel.c
214
fd_set readfd;
tests/lib/libpthread/t_compat_cancel.c
217
FD_ZERO(&readfd);
tests/lib/libpthread/t_compat_cancel.c
220
FD_SET(fd[0], &readfd);
tests/lib/libpthread/t_compat_cancel.c
222
RL(select(fd[0] + 1, &readfd, NULL, NULL, &t));
usr.bin/tftp/tftp.c
431
int readfd;
usr.bin/tftp/tftp.c
433
readfd = mf;
usr.bin/tftp/tftp.c
435
readfd = f;
usr.bin/tftp/tftp.c
437
n = recvfrom(readfd, dp, readlen, 0,