The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

poll.h (3)
  • >> poll.h (3) ( Solaris man: Библиотечные вызовы )
  • poll.h (3) ( POSIX man: Библиотечные вызовы )
  •  

    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 descriptors

    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

    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 TYPEATTRIBUTE VALUE

    Interface StabilityStandard

     

    SEE ALSO

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


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    ATTRIBUTES
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру