Skip to main content

epoll_create1

Function epoll_create1 

Source
#[unsafe(no_mangle)]
pub extern "C" fn epoll_create1(flags: c_int) -> c_int
Expand description

Non-POSIX, see https://man7.org/linux/man-pages/man2/epoll_create1.2.html.

Creates a file descriptor referring to the new epoll instance.

Upon success, returns a file descriptor (a nonnegative integer). Upon error, -1 is returned and errno set to indicate the error.