Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:49:12 2009

## Asterisk developer's documentation

# poll-compat.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures

struct | pollfd

## Defines

#define | POLLERR 0x08
#define | POLLHUP 0x10
#define | POLLIN 0x01
#define | POLLNVAL 0x20
#define | POLLOUT 0x04
#define | POLLPRI 0x02

## Functions

int | poll ()

## Define Documentation

#define POLLERR 0x08

Definition at line 85 of file poll-compat.h.

#define POLLHUP 0x10

Definition at line 86 of file poll-compat.h.

#define POLLIN 0x01

Definition at line 82 of file poll-compat.h.

Referenced by ast_el_read_char(), ast_remotecontrol(), ast_wait_for_input(), ast_waitfor_n_fd(), ast_waitfor_nandfds(), do_monitor(), get_input(), listener(), map_poll_spec(), map_select_results(), monitor_sig_flags(), netconsole(), and timed_read().

#define POLLNVAL 0x20

Definition at line 87 of file poll-compat.h.

#define POLLOUT 0x04

Definition at line 84 of file poll-compat.h.

Referenced by ast_carefulwrite(), launch_netscript(), map_poll_spec(), map_select_results(), zt_sendtext(), and zt_setoption().

#define POLLPRI 0x02

Definition at line 83 of file poll-compat.h.

Referenced by ast_wait_for_input(), ast_waitfor_n_fd(), ast_waitfor_nandfds(), do_monitor(), map_poll_spec(), map_select_results(), and zt_setoption().

## Function Documentation

int poll | ( |  | ) |