resmgr_iofuncs()

Extract the I/O function pointers associated with client connections

Synopsis:

#include <sys/resmgr.h>

const resmgr_io_funcs_t * resmgr_iofuncs(
                             resmgr_context_t * ctp);

Arguments:

ctp
A pointer to a resmgr_context_t structure that the resource-manager library uses to pass context information between functions.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The resmgr_iofuncs() function retrieves the I/O function callout table associated with the client connections described by the context information pointed to by ctp.

Returns:

A pointer to the resmgr_io_funcs_t I/O function callout table, or NULL if an error occurred.

Errors:

ESRCH
The connection can't be located in the resource manager's table.
ENOMEM
There is no memory available for the operation.
EINVAL
Invalid arguments were used.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

_msg_info, MsgInfo(), resmgr_io_funcs_t, resmgr_ocb(), resmgr_open_bind(), resmgr_unbind()