di_minor_next(3DEVINFO) Device Information Library Functions di_minor_next(3DEVINFO)NAME
di_minor_next - libdevinfo minor node traversal functions
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include <libdevinfo.h>
di_minor_t di_minor_next(di_node_t node, di_minor_t minor);
PARAMETERS
minor Handle to the current minor node or DI_MINOR_NIL.
node Device node with which the minor node is associated.
DESCRIPTION
The di_minor_next() function returns a handle to the next minor node for the device node node. If minor is DI_MINOR_NIL, a handle to the
first minor node is returned.
RETURN VALUES
Upon successful completion, a handle to the next minor node is returned. Otherwise, DI_MINOR_NIL is returned and errno is set to indicate
the error.
ERRORS
The di_minor_next() function will fail if:
EINVAL Invalid argument.
ENOTSUP Minor node information is not available in snapshot.
ENXIO End of minor node list.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO libdevinfo(3LIB), attributes(5)
Writing Device Drivers
SunOS 5.10 1 Dec 1998 di_minor_next(3DEVINFO)
Check Out this Related Man Page
di_minor_next(3DEVINFO) Device Information Library Functions di_minor_next(3DEVINFO)NAME
di_minor_next - libdevinfo minor node traversal functions
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include <libdevinfo.h>
di_minor_t di_minor_next(di_node_t node, di_minor_t minor);
PARAMETERS
minor Handle to the current minor node or DI_MINOR_NIL.
node Device node with which the minor node is associated.
DESCRIPTION
The di_minor_next() function returns a handle to the next minor node for the device node node. If minor is DI_MINOR_NIL, a handle to the
first minor node is returned.
RETURN VALUES
Upon successful completion, a handle to the next minor node is returned. Otherwise, DI_MINOR_NIL is returned and errno is set to indicate
the error.
ERRORS
The di_minor_next() function will fail if:
EINVAL Invalid argument.
ENOTSUP Minor node information is not available in snapshot.
ENXIO End of minor node list.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO libdevinfo(3LIB), attributes(5)
Writing Device Drivers
SunOS 5.10 1 Dec 1998 di_minor_next(3DEVINFO)
First , thank you for reading the post.
I Use Digital Unix 4.0F .
I get an i-node number of a text file using stat() function . I want to read the file context following the i-node information . But I do not know how to read disk information accroding to i-node information . (1 Reply)
I have found a question from the exercises of my study mat. The question is
"Why are there a in-core copy and a disk-copy of i-node block and super block?"
If any one know the proper answer then please send me..... (1 Reply)
I am getting an error from one node in a set with RSH setup between them, node one will connect to node two every other time (consistently), however node to connects to node one every time without problem. Here is what I am seeing, makes no sense to me. Can anyone help?
sbhcprdb01<root>: rsh... (6 Replies)
Recently, I replaced a codec and amplifier on an older embedded system. It required minor changes to the machine startup code, a new timing crystal and minor alterations to the machine driver. The old amp had a MODE pin which was being used as a mute function and the new amp has a dedicated SHDN... (0 Replies)