[Previous]
[Contents]
[Next]

qnx_hint_detach()

detach an interrupt handler

Synopsis:

#include <sys/irqinfo.h>
int qnx_hint_detach( int iid );

Description:

The qnx_hint_detach() function detaches the interrupt handler associated with iid. The iid is the value returned by qnx_hint_attach(). If no other process is attached to the interrupt, the interrupt is masked off.

Returns:

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

Errors:

EINVAL
The calling process doesn't have a handler identified by iid.

Examples:

See qnx_hint_attach().

Classification:

QNX

Safety:
Interrupt handler No
Signal handler Yes, but modifies errno
Thread Yes

See also:

errno, qnx_hint_attach(), qnx_hint_query()


[Previous]
[Contents]
[Next]