Function lrs::syscall::epoll_create

Creates a new epoll instance.

Syntax

fn epoll_create(flags: i32) -> i32

Arguments

NameDescription
flags

The flags to be used for creating the file descriptor.

Return value

Returns the file descriptor or an error value.

Remarks

Unless lrs was compiled with the no-auto-cloexec flag, this function automatically adds the EPOLL_CLOEXEC flag.

See also