Lines Matching refs:pollfd
419 struct pollfd pollfd; in ATF_TC_BODY() local
428 pollfd.fd = pathfd; in ATF_TC_BODY()
429 pollfd.events = POLLIN; in ATF_TC_BODY()
430 pollfd.revents = 0; in ATF_TC_BODY()
431 ATF_REQUIRE_MSG(poll(&pollfd, 1, 0) == 1, FMT_ERR("poll")); in ATF_TC_BODY()
432 ATF_REQUIRE_MSG(pollfd.revents == POLLNVAL, "unexpected revents %x", in ATF_TC_BODY()
433 pollfd.revents); in ATF_TC_BODY()
434 pollfd.events = POLLOUT; in ATF_TC_BODY()
435 pollfd.revents = 0; in ATF_TC_BODY()
436 ATF_REQUIRE_MSG(poll(&pollfd, 1, 0) == 1, FMT_ERR("poll")); in ATF_TC_BODY()
437 ATF_REQUIRE_MSG(pollfd.revents == POLLNVAL, "unexpected revents %x", in ATF_TC_BODY()
438 pollfd.revents); in ATF_TC_BODY()