Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Internal APR support functions
Collaboration diagram for Internal APR support functions:

Functions

apr_status_t apr_wait_for_io_or_timeout (apr_file_t *f, apr_socket_t *s, int for_read)
 

Detailed Description

Function Documentation

apr_status_t apr_wait_for_io_or_timeout ( apr_file_t f,
apr_socket_t s,
int  for_read 
)

Wait for IO to occur or timeout.

Parameters
fThe file to wait on.
sThe socket to wait on if f is NULL.
for_readIf non-zero wait for data to be available to read, otherwise wait for data to be able to be written.
Returns
APR_TIMEUP if we run out of time.