rustix::event::epoll

Function modify

source
pub fn modify(
    epoll: impl AsFd,
    source: impl AsFd,
    data: EventData,
    event_flags: EventFlags,
) -> Result<()>
Expand description

epoll_ctl(self, EPOLL_CTL_MOD, target, event)—Modifies an element in a given epoll object.

This sets the events of interest with target to events.

§References