summaryrefslogtreecommitdiffstats
path: root/share/man/man9/make_dev.9
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-12-23 17:16:32 +0000
committerbde <bde@FreeBSD.org>1999-12-23 17:16:32 +0000
commit5eb92e1444c74e1698bc2ccec3722727576d3cbf (patch)
treed307f9850403c4cdfdac1bb85e55ed304fb09e50 /share/man/man9/make_dev.9
parent07a5e27474c395350e9d13435800bc68c513c058 (diff)
downloadFreeBSD-src-5eb92e1444c74e1698bc2ccec3722727576d3cbf.zip
FreeBSD-src-5eb92e1444c74e1698bc2ccec3722727576d3cbf.tar.gz
"Fixed" assorted bitrot. remove_dev() was renamed to destroy_dev().
VOP_ABORTOP() went away. at_shutdown() was replaced by undocumented event handling. Rename remove_dev() here too, and remove the dead and dead wrong man pages.
Diffstat (limited to 'share/man/man9/make_dev.9')
-rw-r--r--share/man/man9/make_dev.914
1 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9
index e400d5c..92ac166 100644
--- a/share/man/man9/make_dev.9
+++ b/share/man/man9/make_dev.9
@@ -29,15 +29,15 @@
.Dt MAKE_DEV 9
.Sh NAME
.Nm make_dev ,
-.Nm remove_dev
-.Nd "Create or remove dev_t and devfs registration for a new device"
+.Nm destroy_dev
+.Nd "Create or destroy dev_t and devfs registration for a new device"
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/conf.h>
.Ft dev_t
-.Fn make_dev "struct cdevsw *devsw" "int minor" "uid_t uid" "gid_t gid" "int perms" "char *fmt" ...
+.Fn make_dev "struct cdevsw *cdevsw" "int minor" "uid_t uid" "gid_t gid" "int perms" "char *fmt" ...
.Ft void
-.Fn remove_dev "dev_t dev"
+.Fn destroy_dev "dev_t dev"
.Sh DESCRIPTION
The
.Fn make_dev
@@ -80,16 +80,16 @@ are defined in
.Ed
.Pp
The
-.Fn remove_dev
+.Fn destroy_dev
function takes the returned
.Fa dev_t
from
.Fn make_dev
-and removes the registration for that device.
+and destroys the registration for that device.
.Sh HISTORY
The
.Fn make_dev
and
-.Fn remove_dev
+.Fn destroy_dev
functions first appeared in
.Fx 4.0 .
OpenPOWER on IntegriCloud