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_unbind.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_unbind.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_unbind.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_unbind.html on line 8
Disassociate an OCB from an open request
#include <sys/resmgr.h>
int resmgr_unbind( resmgr_context_t * ctp);
- ctp
- A pointer to a
resmgr_context_t
structure that the resource-manager library uses to pass context information
between functions.
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The resmgr_unbind() function removes a binding in the internal resources manager database (which maps client connections to server OCB pointers). The binding must previously have been bound by
resmgr_open_bind()
The binding is reference counted; if multiple connections are established
with the same binding, the binding is freed only when the last connection
is removed.
You should use
MsgInfo()
to fill the info structure in ctp
with information about which client mapping to retrieve.
- -1
- Failure.
- 0
- Success.
- ESRCH
- The binding can't be located in the resource manager table.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
MsgInfo(),
resmgr_context_t,
resmgr_open_bind()
Writing a Resource Manager
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_unbind.html on line 147
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_unbind.html on line 147