summaryrefslogtreecommitdiffstats
path: root/share/man/man9/devtoname.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/devtoname.9')
-rw-r--r--share/man/man9/devtoname.915
1 files changed, 3 insertions, 12 deletions
diff --git a/share/man/man9/devtoname.9 b/share/man/man9/devtoname.9
index f93e77b..07ec04f 100644
--- a/share/man/man9/devtoname.9
+++ b/share/man/man9/devtoname.9
@@ -24,32 +24,23 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 25, 1999
+.Dd February 10, 2012
.Dt DEVTONAME 9
.Os
.Sh NAME
.Nm devtoname
-.Nd "converts dev_t data into a string indicating the device name"
+.Nd "converts character device into a string indicating the device name"
.Sh SYNOPSIS
.In sys/param.h
.In sys/conf.h
.Ft const char *
-.Fn devtoname "dev_t dev"
+.Fn devtoname "struct cdev *dev"
.Sh DESCRIPTION
The
.Fn devtoname
function returns a pointer to the name of the device passed to it.
The name is whatever was set to it in
.Fn make_dev .
-If no name is associated with
-.Va dev ,
-a pointer to a string consisting of a
-.Dq #
-followed by
-.Dq Va major Ns / Ns Va minor
-as it applies to
-.Va dev
-is returned.
.Sh HISTORY
The
.Fn devtoname
OpenPOWER on IntegriCloud