IGETLUINFO(3)
HP-UX
NAME
igetluinfo − gets logical unit (lu) information
SYNOPSIS
#include <sicl.h>
int igetluinfo (lu, luinfo);
int lu;
struct lu_info &FAR; *luinfo;
DESCRIPTION
Igetluinfo gets information about the interface associated with the lu (logical unit). For C programs, the lu_info structure has the following syntax:
struct lu_info {
...
long logical_unit;/* same as value passed into igetluinfo */
char symname[32];/* symbolic name assigned to interface */
char cardname[32];/* name of interface card */
long intftype;/* same value returned by igetintftype */
...
};
Notice that, in a given implementation, the exact structure and contents of the lu_info structure is implementation-dependent. The structure can contain any amount of non-standard, implementation-dependent fields. However, the structure must always contain the above fields. If you are programming in C, please refer to the sicl.h file to get the exact lu_info syntax. If you are programming in Visual BASIC, please refer to the SICL.BAS file for the exact syntax.
igetluinfo returns information for valid local interfaces only, not remote interfaces being accessed via LAN.
RETURN VALUE
Igetluinfo returns zero (0) if successful, or a non-zero error code if an error occurs.
SEE ALSO
iopen(3), igetlu(3), igetlulist(3)
AUTHOR
igetluinfo was developed by HP.
Hewlett-Packard Comapny — September 29, 1999