help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'Linux' (#rtl)

epoll_create

Create new epoll file descriptor

Declaration

Source position: linux.pp line 192

function epoll_create(

  size: cint

):cint;

Description

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.

Errors

On error, -1 is returned, and errno is set.

See also

epoll_ctl

  

Modify an epoll file descriptor

epoll_wait

  

Wait for an event on an epoll file descriptor.

fpClose

  

Close file descriptor

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505