diff options
author | gjb <gjb@FreeBSD.org> | 2010-09-10 23:22:01 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2010-09-10 23:22:01 +0000 |
commit | fe3edd04c57bc669e76fb543fc00cd0f0f8cee4b (patch) | |
tree | 8825da1f36211de2d0260b561b34e32d3bd7c55b | |
parent | a7e4e69d1930e504dce49aa6b4a2e0131322071e (diff) | |
download | FreeBSD-src-fe3edd04c57bc669e76fb543fc00cd0f0f8cee4b.zip FreeBSD-src-fe3edd04c57bc669e76fb543fc00cd0f0f8cee4b.tar.gz |
Add RETURN VALUES section to devclass_get_maxunit(9).
PR: 149979
Submitted by: gcooper
Patch by: gcooper
Approved by: keramida (mentor)
MFC after: 1 week
-rw-r--r-- | share/man/man9/devclass_get_maxunit.9 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/share/man/man9/devclass_get_maxunit.9 b/share/man/man9/devclass_get_maxunit.9 index c1fa694..63b8490 100644 --- a/share/man/man9/devclass_get_maxunit.9 +++ b/share/man/man9/devclass_get_maxunit.9 @@ -43,6 +43,19 @@ Returns the next unit number to be allocated to device instances in the .Dv devclass . This is one greater than the highest currently allocated unit. +.Sh RETURN VALUES +The +.Fn devclass_get_maxunit +function returns -1 if +.Fa dc +is +.Dv NULL; +otherwise it returns the next unit +number in +.Fa dc's +devclass. +.Sh ERRORS +None. .Sh SEE ALSO .Xr devclass 9 , .Xr device 9 |