Home
last modified time | relevance | path

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

/freebsd-12-stable/tools/regression/poll/
Dsockpoll.c79 static struct pollfd pfd1; variable
92 pfd1.fd = fd[1]; in setup()
93 pfd1.events = POLLIN | POLLOUT; in setup()
110 if (poll(&pfd1, 1, 0) == -1) in main()
112 report(num++, "initial 1", POLLOUT, pfd1.revents); in main()
118 if (poll(&pfd1, 1, 0) == -1) in main()
120 report(num++, "other side after large write", POLLIN | POLLOUT, pfd1.revents); in main()
122 if (poll(&pfd1, 1, 0) == -1) in main()
124 report(num++, "other side after close", POLLIN | POLLHUP, pfd1.revents); in main()
127 if (poll(&pfd1, 1, 0) == -1) in main()
[all …]