Lines Matching defs:epfd
89 "Checks that epoll_ctl detects an invalid epfd");
113 int epfd;
116 RL(epfd = epoll_create1(0));
119 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, -1, &event), -1,
133 int epfd, fd;
136 RL(epfd = epoll_create1(0));
140 RL(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event));
142 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event), -1,
156 int epfd, fd;
159 RL(epfd = epoll_create1(0));
163 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_MOD, fd, &event), -1,
167 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_DEL, fd, NULL), -1,
181 int epfd;
184 RL(epfd = epoll_create1(0));
185 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, epfd, &event), -1,
219 int epfd, tmp;
223 RL(epfd = epoll_create1(0));
226 RL(epoll_ctl(tmp, EPOLL_CTL_ADD, epfd, &event));
227 epfd = tmp;
230 ATF_REQUIRE_EQ_MSG(epoll_ctl(tmp, EPOLL_CTL_ADD, epfd, &event), -1,