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_devno_detach.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_devno_detach.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_devno_detach.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_devno_detach.html on line 8
Detach a major and minor number
#include <sys/rsrcdbmgr.h>
#include <sys/rsrcdbmsg.h>
int rsrcdbmgr_devno_detach( dev_t devno,
int flags );
- devno
- A dev_t object that was returned by
rsrcdbmgr_devno_attach().
- flags
- Presently, there are no flags; pass zero for this argument.
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().
- EOK
- Success.
- -1
- An error occurred.
#include <sys/rsrcdbmgr.h>
#include <sys/rsrcdbmsg.h>
dev_t dev_num;
int flags=0;
…
rsrcdbmgr_devno_detach( dev_num, flags );
QNX Neutrino
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
rsrcdbmgr_attach(),
rsrcdbmgr_devno_attach()
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_devno_detach.html on line 140
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_devno_detach.html on line 140