1di_prop_next(3DEVINFO)Device Information Library Functionsdi_prop_next(3DEVINFO)
2
3
4
6 di_prop_next - libdevinfo property traversal function
7
9 cc [ flag... ] file... -ldevinfo [ library... ]
10 #include <libdevinfo.h>
11
12 di_prop_t di_prop_next(di_node_t node, di_prop_t prop);
13
14
16 node Handle to a device node.
17
18
19 prop Handle to a property.
20
21
23 The di_prop_next() function returns a handle to the next property on
24 the property list. If prop is DI_PROP_NIL, the handle to the first
25 property is returned.
26
28 Upon successful completion, di_prop_next() returns a handle. Otherwise
29 DI_PROP_NIL is returned and errno is set to indicate the error.
30
32 The di_prop_next() function will fail if:
33
34 EINVAL Invalid argument.
35
36
37 ENOTSUP The snapshot does not contain property information.
38
39
40 ENXIO There are no more properties.
41
42
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
58 di_init(3DEVINFO), libdevinfo(3LIB), attributes(5)
59
60
61 Writing Device Drivers
62
63
64
65SunOS 5.11 1 Dec 1998 di_prop_next(3DEVINFO)