Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/_resmgr_ptr.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/_resmgr_ptr.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/_resmgr_ptr.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/_resmgr_ptr.html on line 8

_RESMGR_PTR()

Get one part from the ctp->iov structure and fill in its fields

Synopsis:

#include <sys/resmgr.h>

#define_RESMGR_PTR( resmgr_context_t ctp,
                    void msg,
                    size_t nbytes ) ...

Arguments:

ctp
A pointer to a resmgr_context_t structure that the resource-manager library uses to pass context information between functions.
msg
The value you want to use for the structure's iov_base member.
nbytes
The value you want to use for the structure's iov_len member.

Library:

None.

Description:

The _RESMGR_PTR() macro gets one part from the ctp->iov structure (see resmgr_context_t) and fills in its fields. The macro is equivalent to:

SETIOV (ctp->iov, msg, nbytes)

returning _RESMGR_NPARTS (1).

Returns:

-1

Classification:

QNX Neutrino

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

See also:

resmgr_context_t, _RESMGR_NPARTS(), _RESMGR_STATUS(), SETIOV()

Resource Managers chapter of Getting Started with QNX Neutrino


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/_resmgr_ptr.html on line 131

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/_resmgr_ptr.html on line 131