[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

_resmgr_io_func()

Retrieve an I/O function from an I/O function table

Synopsis:

#include <sys/resmgr.h>

_resmgr_func_t *_resmgr_io_func(
   const resmgr_io_funcs_t * funcs, 
   unsigned type);

Arguments:

funcs
A pointer to the resmgr_io_funcs_t structure for the table of I/O functions.
type
The type of I/O function that you want to get from the table. This argument should be one of the values defined in <sys/iomsg.h>, such as _IO_READ or _IO_WRITE.

Library:

libc

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

Description:

The _resmgr_io_func() function retrieves the I/O function associated with type from the function table defined by funcs.

Returns:

A pointer to the function responsible for servicing type, or NULL if the function can't be found.

Classification:

QNX Neutrino

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

See also:

resmgr_io_funcs_t, resmgr_iofuncs()


[Previous] [Contents] [Index] [Next]