[][src]Function linux::syscall::epoll_ctl

pub fn epoll_ctl(
    epfd: c_int,
    op: c_int,
    fd: c_int,
    event: Option<&mut epoll_event>
) -> c_int

Modifies a file descriptor in an epoll instance.

[argument, fd] The epoll instance.

[argument, op] The operation to perform on the fd argument.

[argument, fd] The file descriptor on which to operate.

[argument, event] An argument used by some operations.

[return_value] Returns success or an error value.

= See also

  • link:man:epoll_ctl(2)