HP-UX Reference (11i v3 07/02) - 3 Library Functions A-M (vol 6)

l
libIO(3X) libIO(3X)
See the LIBIO_ERRORS section below for an explanation of each error value.
The printed message has the form:
str:libIO error message <cr>
If str is NULL, the message has the form:
libIO error message <cr>
io_strerror()
returns a pointer to the string containing the libIO error message which maps to the
passed argument errnum.
Arguments
str Caller specified string to print along with error status
errnum Caller specified error number to map to error message string
Return Value
io_strerror()
:
Pointer to the message string - Upon success.
NULL - Otherwise.
io_error() has no return value.
Errors
None.
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);
722 Hewlett-Packard Company 4 HP-UX 11i Version 3: February 2007