Device Information Library Functions diminornext(3DEVINFO)
NAME
diminornext - libdevinfo minor node traversal functions
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include
diminort diminornext(dinodet node, diminort minor);
PARAMETERS
minor Handle to the current minor node or DIMINORNIL.
node Device node with which the minor node is associ-
ated.
DESCRIPTION
The diminornext() function returns a handle to the next
minor node for the device node node. If minor is
DIMINORNIL, a handle to the first minor node is returned.
RETURN VALUES
Upon successful completion, a handle to the next minor node
is returned. Otherwise, DIMINORNIL is returned and errno
is set to indicate the error.
ERORS
The diminornext() function will fail if:
EINVAL Invalid argument.
ENOTSUP Minor node information is not available in
snapshot.
ENXIO End of minor node list.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 1 Dec 1998 1
Device Information Library Functions diminornext(3DEVINFO)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Evolving
MT-Level Safe
SEE ALSO
libdevinfo(3LIB), attributes(5)
Writing Device Drivers
SunOS 5.11 Last change: 1 Dec 1998 2
|