Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

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)

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.

Definition at line 30 of file waitio.c.

References APR_POLL_FILE, APR_POLL_SOCKET, APR_POLLIN, APR_POLLOUT, APR_STATUS_IS_EINTR, APR_SUCCESS, apr_socket_t::cntxt, apr_pollfd_t::desc, apr_pollfd_t::desc_type, apr_descriptor::f, n, apr_pollfd_t::p, pollset, apr_file_t::pool, apr_pollfd_t::reqevents, apr_descriptor::s, timeout, apr_file_t::timeout, apr_socket_t::timeout, and type.

Referenced by APR_DECLARE(), apr_socket_connect(), apr_socket_recv(), apr_socket_recvfrom(), apr_socket_send(), and apr_socket_sendto().