Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ igetaddr(3) — HP-UX Instrument Control Library C.03.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

igeterrno(3)

igeterrstr(3)

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

igeterrno(3), igeterrstr(3)
 

AUTHOR

igetaddr was developed by HP. 

Hewlett-Packard Company  —  May 05, 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026