summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-05-20 09:41:13 +0000
committerkib <kib@FreeBSD.org>2010-05-20 09:41:13 +0000
commit95eb00f3ea446b697e3c51a216f5fe3c8ab20393 (patch)
treebac2a158c5a3479cfaa18f751b1f2642ec305c12 /share
parente5c9d17326f3fd2c0e10082a281df7e518ee9b47 (diff)
downloadFreeBSD-src-95eb00f3ea446b697e3c51a216f5fe3c8ab20393.zip
FreeBSD-src-95eb00f3ea446b697e3c51a216f5fe3c8ab20393.tar.gz
MFC r207730:
Document MAKEDEV_NOWAIT flag for make_dev_credf(9).
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/make_dev.911
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9
index b39ca8b..36062d1 100644
--- a/share/man/man9/make_dev.9
+++ b/share/man/man9/make_dev.9
@@ -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 accepted:
.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
OpenPOWER on IntegriCloud