IGETADDR(3)
HP-UX
NAME
igetaddr − return a pointer to the address string passed to the iopen call for this session.
SYNOPSIS
#include <sicl.h>
int igetaddr(INST id, char **addr);
DESCRIPTION
igetaddr will store into addr a pointer to the original string passed to iopen (note that if this string was overwritten after the iopen call, then this version will also be overwritten).
RETURN VALUE
igetaddr returns (0) if successful, or a non-zero error code if an error was encountered.
ERRORS
igetaddr fails under the following circumstances, and sets the return value to one of the following:
[I_ERR_NORSRC] Out of system resources
[I_ERR_NOINTF] Interface is not active
[I_ERR_NODEV] Device is not active
[I_ERR_BADID] The INST id is invalid
[I_ERR_BADADDR] Invalid address (device/interface doesn’t exist)
SEE ALSO
AUTHOR
igetaddr was developed by HP.
Hewlett-Packard Company — September 29, 1999