Searched refs:pfd0 (Results 1 – 1 of 1) sorted by relevance
/freebsd/tools/regression/poll/ |
H A D | sockpoll.c | 98 static struct pollfd pfd0; variable 110 pfd0.fd = fd[0]; in setup() 111 pfd0.events = POLLIN | POLLOUT; in setup() 127 if (poll(&pfd0, 1, 0) == -1) in main() 129 report(num++, "initial 0", POLLOUT, pfd0.revents); in main() 135 if (poll(&pfd0, 1, 0) == -1) in main() 137 report(num++, "after large write", 0, pfd0.revents); in main() 156 if (poll(&pfd0, 1, 0) == -1) in main() 158 report(num++, "after shutdown(SHUT_WR)", POLLOUT, pfd0.revents); in main() 176 if (poll(&pfd0, 1, 0) == -1) in main() [all …]
|