POLLNVAL
if (expect_false (p->revents & POLLNVAL))
if ((pfd->revents & POLLNVAL) != 0) {
#ifndef POLLNVAL
if (pfd[n].revents & (POLLERR|POLLNVAL)) {
if (read_wait[i].revents & (POLLHUP|POLLERR|POLLNVAL))
else if (pfd[i].revents & POLLNVAL) {
if (p->revents & POLLNVAL) {
if (pfd[0].revents & POLLNVAL) {
bits |= POLLNVAL;
if (bev & POLLNVAL)
#define EPOLLNVAL POLLNVAL
return (POLLNVAL);
return (POLLNVAL);
return (POLLNVAL);
return (POLLNVAL);
return (POLLNVAL);
fd->revents = POLLNVAL;
fds->revents = POLLNVAL;
return (POLLNVAL);
POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
EXPECT_NE(0, (pollfd.revents & POLLNVAL));
EXPECT_NE(0, (poll_fd.revents & POLLNVAL));
EXPECT_EQ(0, (poll_fd.revents & POLLNVAL));
EXPECT_NE(0, (poll_fd.revents & POLLNVAL));
EXPECT_EQ(0, (poll_fd.revents & POLLNVAL));
EXPECT_NE(0, (poll_fd.revents & POLLNVAL));
EXPECT_NE(0, (poll_fd.revents & POLLNVAL));
EXPECT_EQ(0, (poll_fd.revents & POLLNVAL));
EXPECT_NE(0, (poll_fd.revents & POLLNVAL));
EXPECT_EQ(0, (poll_fd.revents & POLLNVAL));
EXPECT_NE(0, (cap_fd[kCapCount + 1].revents & POLLNVAL));
EXPECT_NE(0, (cap_fd[kCapCount + 1].revents & POLLNVAL));
ATF_REQUIRE_MSG(pollfd.revents == POLLNVAL, "unexpected revents %x",
ATF_REQUIRE_MSG(pollfd.revents == POLLNVAL, "unexpected revents %x",
CHECK((pollfd.revents & POLLNVAL) == 0);
CHECK((pollfd.revents & POLLNVAL) != 0);
case POLLNVAL:
X(POLLHUP) X(POLLNVAL) X(POLLRDNORM) X(POLLRDBAND)
POLLERR | POLLHUP | POLLNVAL);