resmgr_iofuncs()

QNX SDP8.0C Library ReferenceAPIDeveloper

Extract the I/O function pointers associated with the client connection

Synopsis:

#include <sys/iofunc.h>
#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 connection referenced by ctp.

The resmgr_ocb_iofuncs() function combines the functionality of resmgr_ocb() and resmgr_iofuncs() into a single operation.

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 isn't enough memory available for the operation.
EINVAL
Invalid arguments were used.

Classification:

QNX OS

Safety:
Cancellation pointNo
Signal handlerNo
ThreadYes
Page updated: