IGETERRNO(3)
HP-UX
NAME
igeterrno − Returns the error code of the last error to occur
SYNOPSIS
#include <sicl.h>
int igeterrno (void);
DESCRIPTION
The igeterrno routine is used to return the value of the error code that occurred when a SICL routine generated an error. The first 21 values are defined by SICL and they are:
I_ERR_NOERRORNo Error
I_ERR_SYNTAXSyntax error occurred parsing address
I_ERR_SYMNAMEInvalid symbolic name
I_ERR_BADADDRInvalid address
I_ERR_BADIDThe specified INST is invalid
I_ERR_PARAMInvalid parameter
I_ERR_NOCONNNo connection
I_ERR_NOPERMPermission denied
I_ERR_NOTSUPPNot supported operation
I_ERR_NORSRCOut of system resources
I_ERR_NOINTFInterface is not active
I_ERR_LOCKEDLocked by another user
I_ERR_NOLOCKAn iunlock when session wasn’t locked
I_ERR_BADFMTInvalid format for iprintf or iscanf
I_ERR_DATAData integrity violation
I_ERR_TIMEOUTTimeout occurred
I_ERR_OVERFLOWArithmetic overflow
I_ERR_IOGeneric I/O error
I_ERR_OSGeneric OS error
I_ERR_BADMAPInvalid map request
I_ERR_NODEVDevice is not active
RETURN VALUE
If the last SICL routine generated an error, igeterrno returns the error code. If the last SICL routine did not generate an error, then the return value of igeterrno is undefined.
SEE ALSO
AUTHOR
igeterrno was developed by HP.
Hewlett-Packard Company — May 05, 1994