Lines Matching refs:fd
28 int fd, flags;
30 fd = epoll_create1(0);
31 assert(fd >= 0);
33 flags = fcntl(fd, F_GETFD);
35 (void) close(fd);
38 fd = epoll_create1(EPOLL_CLOEXEC);
39 assert(fd >= 0);
41 flags = fcntl(fd, F_GETFD);
43 (void) close(fd);
45 fd = epoll_create1(EPOLL_CLOEXEC * 3);
46 assert(fd == -1 && errno == EINVAL);
47 fd = epoll_create1(EPOLL_CLOEXEC * 2);
48 assert(fd == -1 && errno == EINVAL);