Epoll.create

Calls epoll_create1() and memorises the returned file descriptor, which is -1 in case of an error.

struct Epoll
int
create

Parameters

flags CreateFlags

epoll_create1() flags

Return Value

Type: int

the obtained file descriptor on success or, -1 on error. On error errno is set appropriately and the returned -1 is memorised as file descriptor.

Meta