MFC r207730:

Document MAKEDEV_NOWAIT flag for  make_dev_credf(9).
This commit is contained in:
Konstantin Belousov 2010-05-20 09:41:13 +00:00
parent cdba28b0eb
commit 830ca8ea8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=208346

View File

@ -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