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/rsrcdbmgr_destroy.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/rsrcdbmgr_destroy.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/rsrcdbmgr_destroy.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/rsrcdbmgr_destroy.html on line 8
Destroy a system resource
#include <sys/rsrcdbmgr.h>
#include <sys/rsrcdbmsg.h>
int rsrcdbmgr_destroy( rsrc_alloc_t *item,
int count );
- item
- An array of
rsrc_alloc_t
structures that describe the resources that you want to destroy.
For more information about this structure, see the documentation for
rsrcdbmgr_create().
- count
- The number of entries in the array.
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The rsrcdbmgr_destroy() function removes
count system resources that are
defined in the array item.
- EOK
- Success.
- -1
- An error occurred;
errno is set.
- EINVAL
- Invalid argument, or the resource is in use.
- ENOMEM
- Insufficient memory to allocate internal data structures.
See the example in rsrcdbmgr_create().
QNX Neutrino
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
rsrcdbmgr_attach(),
rsrcdbmgr_create(),
rsrcdbmgr_detach()
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/rsrcdbmgr_destroy.html on line 152
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/rsrcdbmgr_destroy.html on line 152