rustix::event::epoll

Function create

source
pub fn create(flags: CreateFlags) -> Result<OwnedFd>
Expand description

epoll_create1(flags)—Creates a new epoll object.

Use the epoll::CreateFlags::CLOEXEC flag to prevent the resulting file descriptor from being implicitly passed across exec boundaries.

§References