View | Details | Raw Unified | Return to bug 149979
Collapse All | Expand All

(-)devclass_get_maxunit.9 (working copy) (+9 lines)
Lines 43-48 Link Here
43
Returns the next unit number to be allocated to device instances in the
43
Returns the next unit number to be allocated to device instances in the
44
.Dv devclass .
44
.Dv devclass .
45
This is one greater than the highest currently allocated unit.
45
This is one greater than the highest currently allocated unit.
46
.Sh RETURN VALUES
47
The
48
.Fn devclass_get_maxunit
49
function returns -1 if dc is NULL; otherwise it returns the next unit
50
number in
51
.Fa dc's
52
devclass.
53
.Sh ERRORS
54
None.
46
.Sh SEE ALSO
55
.Sh SEE ALSO
47
.Xr devclass 9 ,
56
.Xr devclass 9 ,
48
.Xr device 9
57
.Xr device 9

Return to bug 149979