Using the HP-UX libIO Library

Using the HP-UX libIO Library (HP-UX 11i v3)
Introduction......................................................................................................................................... 3
I/O Subsystem Terms and Definitions..................................................................................................... 4
Using the libIO Library on HP-UX 11i v3................................................................................................. 6
io_init() – Establishing the Connection................................................................................................. 6
io_end() – Terminating the Connection................................................................................................ 6
libIO Routines...................................................................................................................................... 7
Search/Query the I/O Tree and Switch Table ..................................................................................... 7
io_search()................................................................................................................................7
io_search_array()................................................................................................................... 10
io_search_array_batch()........................................................................................................ 10
io_query()............................................................................................................................... 10
io_query_array().................................................................................................................... 11
io_query_batch() .................................................................................................................... 11
Examples................................................................................................................................11
dev_t Related Routines .................................................................................................................... 17
io_mkdev() ............................................................................................................................. 17
io_mkdev_ext() ...................................................................................................................... 17
io_get_devs() .......................................................................................................................... 18
io_dev_to_options()................................................................................................................ 18
io_is_legacy_dev().................................................................................................................. 18
io_dev_to_node().................................................................................................................... 18
io_legacy_to_new_dev()........................................................................................................ 19
io_new_to_legacy_devs() ...................................................................................................... 19
io_block_to_raw() .................................................................................................................. 19
io_raw_to_block() .................................................................................................................. 20
Examples................................................................................................................................20
Device Special File Services ............................................................................................................ 28
io_char_to_block_dsf()........................................................................................................... 28
io_block_to_char_dsf()........................................................................................................... 28
io_new_to_legacy_dsfs() ....................................................................................................... 28

Summary of content (55 pages)