Module alsa::poll [] [src]

Tiny poll ffi

A tiny wrapper around libc's poll system call.

Structs

PollFlags

Constants

POLLERR
POLLHUP
POLLIN
POLLNVAL
POLLOUT
POLLPRI

Traits

PollDescriptors

Functions

poll

Wrapper around the libc poll call.

poll_all

Builds a pollfd array, polls it, and returns the poll descriptors which have non-zero revents.