libIO.3x (2010 09)
l
libIO(3X) libIO(3X)
io_get_mapping()
Returns a mapping between a given node and other I/O nodes
io_get_node_relation()
Retrieve a relative of a given node token
io_hw_compare()
Compares two pre-HP-UX 11i V3 hardware path structures
io_hw_compare_ext()
Compares two hardware path structures used on HP-UX 11i V3
or later
io_hw_path_to_node()
Converts a hardware path to token
io_hw_path_to_str()
Converts a hardware path to a string
io_init() Establishes a connection with the dev_config driver
io_init_hw_path()
Initializes the hardware path with the passed flags argument
io_is_hwpath_legacy()
Determines if the given hardware path is of legacy or agile form
io_is_legacy_dev()
Determines if the given dev_t is legacy
io_is_legacy_token()
Determines if token is legacy or agile
io_is_option_set()
Determines if the option(s) is set for
dev_t
io_legacy_to_new_dev() Maps a legacy
dev_t to an agile dev_t
io_legacy_to_new_dsf()
Maps a legacy device special file to a persistent device special
file
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.
io_mkdev() Builds a dev_t, given a node and option string
io_mkdev_ext() Returns a
dev_t for the given node, dev_type , and device
options
io_new_to_legacy_devs()
Maps an agile dev_t to one or more legacy dev_t(s)
io_new_to_legacy_dsfs()
Maps a agile device special file to one or more legacy device spe-
cial file
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.
io_node_to_hw_path()
Converts token to a hardware path
io_query() Gets information about a token
io_query_array()
Gets information (multiple fields) about a token
io_query_batch() Creates multiple keys to call
io_query_array()
io_raw_to_block()
Returns the block dev_t of the given character dev_t
io_search() Searches I/O subsystem data structures
io_search_array() Searches I/O system data structures
io_search_array_batch() Retrieves an array of token matching the search
io_str_to_hw_path() Converts a string representing the hardware path to
hw_path_t structure
io_strerror() Provides libIO error messages
These APIs are described in more detail in the following sections.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010