Author: gjb (doc committer)
Date: Fri Sep 10 23:22:01 2010
New Revision: 212440
URL: http://svn.freebsd.org/changeset/base/212440

Log:
  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

Modified:
  head/share/man/man9/devclass_get_maxunit.9

Modified: head/share/man/man9/devclass_get_maxunit.9
==============================================================================
--- head/share/man/man9/devclass_get_maxunit.9  Fri Sep 10 23:18:45 2010        
(r212439)
+++ head/share/man/man9/devclass_get_maxunit.9  Fri Sep 10 23:22:01 2010        
(r212440)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to