This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Destroy a system resource
#include <sys/rsrcdbmgr.h> #include <sys/rsrcdbmsg.h> int rsrcdbmgr_destroy( rsrc_alloc_t *item, int count );
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.
See the example in rsrcdbmgr_create().
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
rsrcdbmgr_attach(), rsrcdbmgr_create(), rsrcdbmgr_detach()