Function epoll::create [] [src]

pub fn create(cloexec: bool) -> Result<RawFd>

Creates a new epoll file descriptor.

If cloexec is true, FD_CLOEXEC will be set on the returned file descriptor.

Notes

  • epoll_create(1) is the underlying syscall.