1di_lnode_next(3DEVINFOD)evice Information Library Functiondsi_lnode_next(3DEVINFO)
2
3
4

NAME

6       di_lnode_next - libdevinfo lnode traversal function
7

SYNOPSIS

9       cc [ flag... ] file... -ldevinfo [ library... ]
10       #include <libdevinfo.h>
11
12       di_lnode_t di_lnode_next(di_node_t node, di_lnode_t lnode);
13
14

PARAMETERS

16       node     A handle to a di_node.
17
18
19       lnode    A handle to an lnode.
20
21

DESCRIPTION

23       The di_lnode_next() function returns a handle to the next lnode for the
24       device node specified by node. If lnode is DI_LNODE_NIL,  a  handle  to
25       the first lnode is returned.
26

RETURN VALUES

28       Upon  successful  completion, a  handle to an lnode is returned. Other‐
29       wise, DI_LNODE_NIL is returned and errno is set to indicate the error.
30

ERRORS

32       The di_lnode_next() function will fail if:
33
34       EINVAL     An argument is invalid.
35
36
37       ENOTSUP    Device usage information is not available in snapshot.
38
39
40       ENXIO      The end of the lnode list has been reached.
41
42

ATTRIBUTES

44       See attributes(5) for descriptions of the following attributes:
45
46
47
48
49       ┌─────────────────────────────┬─────────────────────────────┐
50       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
51       ├─────────────────────────────┼─────────────────────────────┤
52       │Interface Stability          │Evolving                     │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │MT-Level                     │Safe                         │
55       └─────────────────────────────┴─────────────────────────────┘
56

SEE ALSO

58       di_init(3DEVINFO), libdevinfo(3LIB), attributes(5)
59
60
61
62SunOS 5.11                        22 Mar 2004          di_lnode_next(3DEVINFO)
Impressum