Function lrs::syscall::epoll_pwait

Waits on an epoll instance.

Syntax

fn epoll_pwait(epfd: i32, events: &mut [epoll_event], timeout: i32, sigmask: Option<&sigset_t>) -> i32

Arguments

NameDescription
epfd
events

The buffer into which events will be placed.

timeout

The timeout in milliseconds.

sigmask

A set of signals that will be masked during the operation.

Return value

Returns success or an error value.

See also