nix::sys::epoll

Function epoll_ctl

source
pub fn epoll_ctl<'a, T>(
    epfd: RawFd,
    op: EpollOp,
    fd: RawFd,
    event: T,
) -> Result<()>
where T: Into<Option<&'a mut EpollEvent>>,
👎Deprecated since 0.27.0: Use Epoll::epoll_ctl() instead