devela::_dep::rustix::event::epoll

Function create

pub fn create(flags: CreateFlags) -> Result<OwnedFd, Errno> 
Available on crate feature dep_rustix only.
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