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 then the interrupt is masked off.

Returns:

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

Errors:

EINVAL
The calling process does not have a handler identified by iid.

See also:

errno, qnx_hint_attach(), qnx_hint_query()

Examples:

See qnx_hint_attach().

Classification:

QNX

Systems:

QNX