[Previous]
[Contents]
[Next]

qnx_device_detach()

detach a major device number from an I/O manager

Synopsis:

#include <sys/fd.h>
int qnx_device_detach( int devno );

Description:

The qnx_device_detach() function detaches a previously attached major device number, devno, from an I/O manager.

Returns:

0
Success
-1
An error occurred. errno is set to indicate the error.

Errors:

EINVAL
The calling process doesn't have a major device number identified by devno.

Examples:

See qnx_device_attach().

Classification:

QNX

Safety:
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

errno, qnx_device_attach(), stat()


[Previous]
[Contents]
[Next]