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

l
libIO(3X) libIO(3X)
Return Value
token - Upon success.
NULL - Otherwise. io_errno is set to indicate the error.
Errors
[IO_E_DCONF_ACCESS]
[IO_E_DCONF_OPEN]
[IO_E_KEY_TOKEN_DEF]
[IO_E_MATCH]
[IO_E_MEM_ALLOC]
[IO_E_PARM]
[IO_E_SYSCALL]
libIO FUNCTION
Name
io_search_array_batch()
- retrieves an array of token matching the search
Synopsis
io_search_array_batch (io_token_t token, int type, int qual,
char *key[],void *dat[],io_token_t *ret_token);
Description
This routine is an enhancement of io_search_array(),
it returns an array of tokens.
Arguments
token Token returned by previous call to
io_search() , or NULL if first search.
type Specifies type of search (see io_query() ).
qual Qualifier for search (see io_search() ).
key[] An array of query field string.
dat[] An array of corresponding query field data.
ret_roken[] An array of token returned.
Return Value
IO_SUCCESS - Upon success.
IO_ERROR - Otherwise. io_errno is set to indicate the error.
Errors
[IO_E_DCONF_ACCESS]
[IO_E_DCONF_OPEN]
[IO_E_NODE_PARM]
[IO_E_SYSCALL]
libIO FUNCTION
Name
io_mkdev_ext() - returns a dev_t for the given node, dev_type , and device options
Synopsis
int io_mkdev_ext(io_token_t node, int dev_type, uint64_t options,
dev_t *dev);
Description
io_mkdev_ext() builds a dev_t from the given node, device type and options. This API is for creat-
ing a dev_t for an agile node only. io_errno is set to IO_E_FUNC_NOT_SUPPORTED
if called on
legacy nodes.
Arguments
node Token corresponding to the I/O node.
dev_type Possible values are:
HP-UX 11i Version 3: February 2007 11 Hewlett-Packard Company 729