Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:49:48 2009

## Asterisk developer's documentation

# pollfd Struct Reference

`#include <poll-compat.h>`

## Data Fields

short | events
int | fd
short | revents

## Detailed Description

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

## Field Documentation

short events

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

Referenced by ast_carefulwrite(), ast_el_read_char(), ast_io_add(), ast_io_change(), ast_io_dump(), ast_io_remove(), ast_remotecontrol(), ast_wait_for_input(), ast_waitfor_n_fd(), ast_waitfor_nandfds(), do_monitor(), get_input(), launch_netscript(), listener(), map_poll_spec(), netconsole(), timed_read(), zt_sendtext(), and zt_setoption().

int fd

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

Referenced by alsa_card_init(), ast_carefulwrite(), ast_el_read_char(), ast_io_add(), ast_io_change(), ast_io_dump(), ast_io_wait(), ast_remotecontrol(), ast_wait_for_input(), ast_waitfor_n_fd(), ast_waitfor_nandfds(), do_monitor(), get_input(), launch_netscript(), listener(), map_poll_spec(), map_select_results(), netconsole(), timed_read(), zt_sendtext(), and zt_setoption().

short revents

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

Referenced by ast_el_read_char(), ast_fdisset(), ast_io_add(), ast_io_remove(), ast_io_wait(), ast_remotecontrol(), ast_waitfor_nandfds(), do_monitor(), map_select_results(), netconsole(), zt_sendtext(), and zt_setoption().

The documentation for this struct was generated from the following file:

- poll-compat.h