svn commit: r208346 - stable/8/share/man/man9

Konstantin Belousov kib at FreeBSD.org
Thu May 20 09:41:14 UTC 2010


Author: kib
Date: Thu May 20 09:41:13 2010
New Revision: 208346
URL: http://svn.freebsd.org/changeset/base/208346

Log:
  MFC r207730:
  Document MAKEDEV_NOWAIT flag for  make_dev_credf(9).

Modified:
  stable/8/share/man/man9/make_dev.9
Directory Properties:
  stable/8/share/man/man9/   (props changed)

Modified: stable/8/share/man/man9/make_dev.9
==============================================================================
--- stable/8/share/man/man9/make_dev.9	Thu May 20 09:39:01 2010	(r208345)
+++ stable/8/share/man/man9/make_dev.9	Thu May 20 09:41:13 2010	(r208346)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 28, 2008
+.Dd May 6, 2010
 .Os
 .Dt MAKE_DEV 9
 .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