Function lrs::syscall::epoll_ctl

Modifies a file descriptor in an epoll instance.

Syntax

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

Arguments

NameDescription
epfd
op

The operation to perform on the fd argument.

fd

The epoll instance.

event

An argument used by some operations.

Return value

Returns success or an error value.

See also