libIO.3x (2010 09)

l
libIO(3X) libIO(3X)
Errors
[IO_E_DCONF_OPEN]
[IO_E_PARM]
[IO_E_SYSCALL]
libIO FUNCTION
Name
io_legacy_to_new_hwpath()
- converts the data structure of a pre-HP-UX 11i V3 hardware path
to that of the hardware path for HP-UX 11i V3 or later
Synopsis
int io_legacy_to_new_hwpath (leg_hw_path_t *from, hw_path_t *to);
Description
io_legacy_to_new_hwpath()
converts a pre-HP-UX 11i V3 hardware path (leg_hw_path_t
)
data structure to the hardware path for HP-UX 11i V3 or later (
hw_path_t).
Arguments
from Pointer to a
leg_hw_path_t data structure.
to A pointer to the
hw_path_t data structure.
Return Value
IO_SUCCESS - Upon success.
IO_ERROR - Otherwise. io_errno is set to indicate the error.
Errors
[IO_E_PARM]
libIO FUNCTION
Name
io_new_to_legacy_hwpath()
- converts the data structure of a hardware path used on HP-UX 11i
V3 or later to that of a pre-HP-UX 11i V3 hardware path
Synopsis
int io_new_to_legacy_hwpath (hw_path_t *from, leg_hw_path_t *to);
Description
io_new_to_legacy_hwpath()
converts a hardware path used on HP-UX 11i V3 or later
(
hw_path_t) data structure to the pre-HP-UX 11i V3 hardware path (leg_hw_path_t
). If
hw_path_t has more than 14 elements or any of them is more than 8 bit long, the API will set
io_errno to IO_E_PARM.
Arguments
from Pointer to
hw_path_t data structure.
to A pointer to the legacy
leg_hw_path_t data structure.
Return Value
IO_SUCCESS - Upon success.
IO_ERROR - Otherwise. io_errno is set to indicate the error.
Errors
[IO_E_PARM]
libIO FUNCTION
Name
io_get_devs() - returns the dev_ts of a given node
Synopsis
int io_get_devs(io_token_t node, io_dev_info_t *dev_arry, int *count);
HP-UX 11i Version 3: September 2010 17 Hewlett-Packard Company 17