Detach a major and minor number
#include <sys/rsrcdbmgr.h> #include <sys/rsrcdbmsg.h> int rsrcdbmgr_devno_detach( dev_t devno, int flags );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The function rsrcdbmgr_devno_detach() detaches device number that was attached with rsrcdbmgr_devno_attach().
#include <sys/rsrcdbmgr.h> #include <sys/rsrcdbmsg.h> dev_t dev_num; int flags=0; … rsrcdbmgr_devno_detach( dev_num, flags );
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
rsrcdbmgr_attach(), rsrcdbmgr_devno_attach()