svn commit: r207730 - head/share/man/man9

Konstantin Belousov kib at FreeBSD.org
Thu May 6 19:23:49 UTC 2010


Author: kib
Date: Thu May  6 19:23:49 2010
New Revision: 207730
URL: http://svn.freebsd.org/changeset/base/207730

Log:
  Document MAKEDEV_NOWAIT flag for  make_dev_credf(9).
  
  Reviewed by:	jh
  MFC after:	2 weeks

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

Modified: head/share/man/man9/make_dev.9
==============================================================================
--- head/share/man/man9/make_dev.9	Thu May  6 19:22:50 2010	(r207729)
+++ head/share/man/man9/make_dev.9	Thu May  6 19:23:49 2010	(r207730)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 28, 2008
+.Dd May 6, 2010
 .Dt MAKE_DEV 9
 .Os
 .Sh NAME
@@ -133,9 +133,18 @@ The following values are currently accep
 .Pp
 .Bd -literal -offset indent -compact
 MAKEDEV_REF	reference the created device
+MAKEDEV_NOWAIT	do not sleep, may return NULL
+MAKEDEV_WAITOK	allow the function to sleep to satisfy malloc
 .Ed
 .Pp
 The
+.Dv MAKEDEV_WAITOK
+flag is assumed if none of
+.Dv MAKEDEV_WAITOK ,
+.Dv MAKEDEV_NOWAIT
+is specified.
+.Pp
+The
 .Xr dev_clone 9
 event handler shall specify
 .Dv MAKEDEV_REF


More information about the svn-src-all mailing list