poll.h man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

poll.h(3HEAD)			    Headers			 poll.h(3HEAD)

NAME
       poll.h, poll - definitions for the poll() function

SYNOPSIS
       #include <poll.h>

DESCRIPTION
       The  <poll.h>  header  defines the pollfd structure, which includes the
       following members:

       int fd		the following descriptor being polled

       short events	the input event flags (see below)

       short revents	the output event flags (see below)

       The <poll.h> header defines the following type through typedef:

       nfds_t	 an unsigned integer type used for the number of file descrip‐
		 tors

       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  get‐
       conf(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	     Data  other  than	high-priority data can be read without
		     blocking.

       POLLRDNORM    Normal data can be read without blocking.

       POLLRDBAND    Priority data can be read without blocking.

       POLLPRI	     High priority data can be read without blocking.

       POLLOUT	     Normal data can be written without blocking.

       POLLWRNORM    Equivalent to POLLOUT.

       POLLWRBAND    Priority data can be written.

       POLLERR	     An error has occurred (revents only).

       POLLHUP	     Device has been disconnected (revents only).

       POLLNVAL	     Invalid fd member (revents only).

       The significance and semantics of normal, priority,  and	 high-priority
       data are file and device-specific.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Standard		     │See standards(5).		   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       getconf(1), poll(2), confstr(3C), attributes(5), standards(5)

SunOS 5.11			  9 Sep 2004			 poll.h(3HEAD)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net