Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2011 13:59:56 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r218565 - stable/7/share/man/man9
Message-ID:  <201102111359.p1BDxusT062250@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb (doc committer)
Date: Fri Feb 11 13:59:56 2011
New Revision: 218565
URL: http://svn.freebsd.org/changeset/base/218565

Log:
  MFC 212440,212493,212500:
  
  Add RETURN VALUES section to devclass_get_maxunit(9).
  
  PR:		149979
  Approved by:	keramida (mentor)

Modified:
  stable/7/share/man/man9/devclass_get_maxunit.9
Directory Properties:
  stable/7/share/man/man9/   (props changed)

Modified: stable/7/share/man/man9/devclass_get_maxunit.9
==============================================================================
--- stable/7/share/man/man9/devclass_get_maxunit.9	Fri Feb 11 13:58:30 2011	(r218564)
+++ stable/7/share/man/man9/devclass_get_maxunit.9	Fri Feb 11 13:59:56 2011	(r218565)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 3, 2005
+.Dd September 10, 2010
 .Dt DEVCLASS_GET_MAXUNIT 9
 .Os
 .Sh NAME
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102111359.p1BDxusT062250>