next up previous contents index
Next: 7.2.2 add_listener: Associate a Up: 7.2 oskit_asyncio: Asynchronous I/O Previous: 7.2 oskit_asyncio: Asynchronous I/O

7.2.1 poll: Poll for pending asynchronous I/O conditions on this object

 

SYNOPSIS

#include <oskit/io/asyncio.h>

OSKIT_COMDECL oskit_asyncio_poll(oskit_asyncio_t *io);

DESCRIPTION

Poll for currently pending asynchronous I/O conditions, returning a mask indicating which conditions are currently present.

PARAMETERS

io
The async I/O object.

RETURNS

If successful, returns a mask of the OSKIT_ASYNCIO flags above. Otherwise, returns an error code specified in <oskit/error.h>.



Utah Flux Research Group