IGETONINTR(3)
HP-UX
NAME
igetonintr − returns the current interrupt handler
SYNOPSIS
#include <sicl.h>
int igetonintr(INST id, void (**proc)());
DESCRIPTION
Igetonintr will store the address of the currently installed interrupt handler in the variable pointed to by proc. If no interrupt handler is installed, a 0 is stored.
RETURN VALUE
The igetonintr command returns 0 on success, or a non-zero error code if an error occurred.
ERRORS
Some possible reasons for igetonintr failing are:
[I_ERR_BADID] Invalid INST id.
[I_ERR_PARAM] Invalid parameter.
AUTHOR
igetonintr was developed by HP.
SEE ALSO
ionintr(3), igeterrno(3), igeterrstr(3).
Hewlett-Packard Company — May 05, 1994