libIO.3x (2010 09)

l
libIO(3X) libIO(3X)
libIO FUNCTION
Name
io_dev_to_node()
- converts a dev_t to token
Synopsis
#include <sys/types.h>
io_token_t io_dev_to_node(dev_t dev,int dev_type);
Description
io_dev_to_node()
returns a token corresponding to the specified
dev_t dev_type . See mknod(5).
Arguments
dev
dev_t to map to node .
dev_type Possible values are:
D_CHR Character dev_t.
D_BLK Block dev_t.
Return Value
Token - Upon success.
NULL - Otherwise. io_errno is set to indicate the error.
Errors
[IO_E_DCONF_OPEN]
[IO_E_PARM]
[IO_E_DCONF_ACCESS]
[IO_E_NODE_NOEXIST]
[IO_E_SYSCALL]
libIO FUNCTION
Name
io_hw_compare() - compares two pre-HP-UX 11i V3 hardware path structures
Synopsis
int io_hw_compare(leg_hw_path_t *path1, leg_hw_path_t *path2);
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.
HP-UX 11i Version 3: September 2010 5 Hewlett-Packard Company 5