Method lrs::poll::Epoll::new

Creates a new epoll instance.

Syntax

impl Epoll {
    fn new() -> Result<Epoll, Errno>
}

Remarks

Unless lrs has been compiled with the no-auto-cloexec flag, this epoll instance is created with the EPOLL_CLOEXEC flag set.

See also