Provided by: manpages-dev_3.35-0.1ubuntu1_all epoll_create,
epoll_create1 - open an epoll file descriptor int
epoll_create(int size); int epoll_create1(int flags);
epoll_create() creates an epoll "instance", requesting the
kernel to allocate an event backing store dimensioned for size
descriptors. The size is not the maximum size of the backing
store but just a hint to the kernel about how to dimension
internal structures. (Nowadays, size is unused; see NOTES
below.) epoll_create() returns a file descriptor referring to
the new epoll instance. This file descriptor is used for all the
subsequent calls to the epoll interface. When no longer
required, the file descriptor returned by epoll_create() should
be closed by using close(2). When all file descriptors referring
to an epoll instance have been closed, the kernel destroys the
instance and releases the associated resources If flags is 0,
then, other than the fact that the obsolete size argument is
dropped, epoll_create1() is the same as epoll_create(). The fo