ocean.sys.Epoll

Linux Epoll API binding and utility struct.

Members

Enums

EpollCreateFlags
enum EpollCreateFlags

Flags accepted by epoll_create1(), can be OR-combined.

EpollCtlOp
enum EpollCtlOp

epoll_ctl opcodes.

Functions

epoll_create1
int epoll_create1(EpollCreateFlags flags)

Description

epoll_ctl
int epoll_ctl(int epfd, EpollCtlOp op, int fd, epoll_event_t* event)

Description

epoll_wait
int epoll_wait(int epfd, epoll_event_t* events, int maxevents, int timeout)

Description

Structs

Epoll
struct Epoll

Epoll utility struct, memorises the file descriptor obtained by create().

epoll_event_t
struct epoll_event_t

Struct bundling the event to register a file descriptor for with an attachment.

Unions

epoll_data_t
union epoll_data_t

Epoll user data union

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).