HP-UX Reference (11i v3 07/02) - 3 Library Functions A-M (vol 6)
l
libIO(3X) libIO(3X)
Description
io_hw_compare()
compares contents of two leg_hw_path_t
structures. If found equivalent,
returns success; otherwise, returns an error.
leg_hw_path_t
is a pre-HP-UX 11i V3 structure used for
storing hardware paths.
Arguments
path1, path2 Pointers to
leg_hw_path_t
structures.
Return Value
IO_SUCCESS - If found equivalent.
IO_ERROR - Not equivalent.
Errors
None.
libIO FUNCTION
Name
io_hw_compare_ext()
- compares two hardware path structures used on HP-UX 11i V3 or later
Synopsis
int io_hw_compare_ext(hw_path_t *path1, hw_path_t *path2);
Description
io_hw_compare_ext()
compares contents of two hw_path_t structures. If found equivalent,
returns success; otherwise, returns an error.
hw_path_t is a hardware path structure used on HP-UX
11i V3 or later.
Arguments
path1, path2 Pointers to hw_path_t structures.
Return Value
IO_SUCCESS - If found equivalent.
IO_ERROR - Not equivalent.
Errors
[IO_E_DCONF_ACCESS]
[IO_E_DCONF_OPEN]
[IO_E_NODE_NOEXIST]
[IO_E_PARM]
[IO_E_SYSCALL]
libIO FUNCTION
Name
io_hw_path_to_node()
- converts a hardware path to token
Synopsis
io_token_t io_hw_path_to_node(hw_path_t *hw_path);
Description
io_hw_path_to_node() returns the token for the specified hardware path.
Arguments
hw_path Pointer to hardware path.
Return Value
Token - Upon success.
NULL - Otherwise. io_errno is set to indicate the error.
Errors
[IO_E_DCONF_ACCESS]
[IO_E_DCONF_OPEN]
HP-UX 11i Version 3: February 2007 − 5 − Hewlett-Packard Company 723