Home
last modified time | relevance | path

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

/freebsd/tools/regression/poll/
H A Dsockpoll.c99 static struct pollfd pfd1; variable
112 pfd1.fd = fd[1]; in setup()
113 pfd1.events = POLLIN | POLLOUT; in setup()
130 if (poll(&pfd1, 1, 0) == -1) in main()
132 report(num++, "initial 1", POLLOUT, pfd1.revents); in main()
138 if (poll(&pfd1, 1, 0) == -1) in main()
140 report(num++, "other side after large write", POLLIN | POLLOUT, pfd1.revents); in main()
142 if (poll(&pfd1, 1, 0) == -1) in main()
144 report(num++, "other side after close", POLLIN | POLLHUP, pfd1.revents); in main()
147 if (poll(&pfd1, 1, 0) == -1) in main()
[all …]