1di_path_prop_next(3DEVDIeNvFiOc)e Information Library Funcdtii_opnasth_prop_next(3DEVINFO)
2
3
4
6 di_path_prop_next - libdevinfo path property traversal function
7
9 cc [ flag... ] file... -ldevinfo [ library... ]
10 #include <libdevinfo.h>
11
12 di_path_prop_t di_path_prop_next(di_path_t path,
13 di_path_prop_t prop);
14
15
17 path The handle to a path node in a di_init(3DEVINFO).
18
19
20 prop The handle to a property.
21
22
24 The di_prop_next() function returns a handle to the next property on
25 the property list. If prop is DI_PROP_NIL, the handle to the first
26 property is returned.
27
29 Upon successful completion, di_path_prop_next() returns a handle to a
30 path property object. Otherwise DI_PROP_NIL is returned, and errno is
31 set to indicate the error.
32
34 The di_prop_next() function will fail if:
35
36 EINVAL An argument is invalid.
37
38
39 ENOTSUP The snapshot does not contain path property information
40 (DINFOPROP was not passed to di_init()).
41
42
43 ENXIO There are no more properties.
44
45
47 See attributes(5) for descriptions of the following attributes:
48
49
50
51
52 ┌─────────────────────────────┬─────────────────────────────┐
53 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │Interface Stability │Committed │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │MT-Level │Safe │
58 └─────────────────────────────┴─────────────────────────────┘
59
61 libdevinfo(3LIB), attributes(5)
62
63
64 Writing Device Drivers
65
66
67
68SunOS 5.11 15 May 2008 di_path_prop_next(3DEVINFO)