poll.h, poll - definitions for the poll() function
#include <poll.h>
The <poll.h> header defines the pollfd structure, which includes the following members:
int fd
short events
short revents
The <poll.h> header defines the following type through typedef:
nfds_t
The implementation supports one or more programming environments in which the width of nfds_t is no greater than the width of type long. The names of these programming environments can be obtained using the confstr() function or the getconf utility. See confstr(3C) and getconf(1).
The following symbolic constants are defined, zero or more of which can be OR'ed together to form the events or revents members in the pollfd structure:
POLLIN
POLLRDNORM
POLLRDBAND
POLLPRI
POLLOUT
POLLWRNORM
POLLWRBAND
POLLERR
POLLHUP
POLLNVAL
The significance and semantics of normal, priority, and high-priority data are file and device-specific.
See attributes(5) for descriptions of the following attributes:
|
getconf(1), poll(2), confstr(3C), attributes(5), standards(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |