| [Overview][Constants][Types][Procedures and functions][Index] | 
Create new epoll file descriptor
Source position: linux.pp line 284
function epoll_create(  | 
size: cint  | 
):cint;  | 
epoll_create creates a new epoll file descriptor. The size argument indicates to the kernel approximately how many structures should be allocated, but is by no means an upper limit.
On success, a file descriptor is returned that can be used in subsequent epoll_ctl or epoll_wait calls, and should be closed using the fpClose call.
On error, -1 is returned, and errno is set.
  | 
Modify an epoll file descriptor  | 
|
  | 
Wait for an event on an epoll file descriptor.  | 
|
  | 
Close file descriptor  |