Method lrs::poll::Epoll::modify

Modifies the flags associated with an added file descriptor.

Syntax

impl Epoll {
    fn modify<T>(&self, fd: &T, flags: PollFlags) -> Result<(), Errno>
        where T: FDContainer,
}

Arguments

NameDescription
fd

The file descriptor to modify.

flags

The new flags.