Device Information Library Functions dilnodenext(3DEVINFO)
NAME
dilnodenext - libdevinfo lnode traversal function
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include
dilnodet dilnodenext(dinodet node, dilnodet lnode);
PARAMETERS
node A handle to a dinode.
lnode A handle to an lnode.
DESCRIPTION
The dilnodenext() function returns a handle to the next
lnode for the device node specified by node. If lnode is
DILNODENIL, a handle to the first lnode is returned.
RETURN VALUES
Upon successful completion, a handle to an lnode is
returned. Otherwise, DILNODENIL is returned and errno is
set to indicate the error.
ERORS
The dilnodenext() function will fail if:
EINVAL An argument is invalid.
ENOTSUP Device usage information is not available in
snapshot.
ENXIO The end of the lnode list has been reached.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 22 Mar 2004 1
Device Information Library Functions dilnodenext(3DEVINFO)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Evolving
MT-Level Safe
SEE ALSO
diinit(3DEVINFO), libdevinfo(3LIB), attributes(5)
SunOS 5.11 Last change: 22 Mar 2004 2
|