summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-03-18 02:36:43 +0000
committerdd <dd@FreeBSD.org>2002-03-18 02:36:43 +0000
commit64fba574035a2432016a57d031f5d471f270ff50 (patch)
treea5183b100e3522f468e1a11bc1f7da34da7ef3b6 /lib/libc/gen
parent15e2eac5f3f23d02b9ad823d3eb77cae67b96f8a (diff)
downloadFreeBSD-src-64fba574035a2432016a57d031f5d471f270ff50.zip
FreeBSD-src-64fba574035a2432016a57d031f5d471f270ff50.tar.gz
mdoc(7) police: bump document date to the date of the last interface
change (revision 1.2 of devname.c on 1999/07/18), don't put quotes around a path, and use .Dv where appropriate.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/devname.39
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/gen/devname.3 b/lib/libc/gen/devname.3
index 6904a89..fef7674 100644
--- a/lib/libc/gen/devname.3
+++ b/lib/libc/gen/devname.3
@@ -32,7 +32,7 @@
.\" @(#)devname.3 8.2 (Berkeley) 4/29/95
.\" $FreeBSD$
.\"
-.Dd April 29, 1995
+.Dd July 18, 1999
.Dt DEVNAME 3
.Os
.Sh NAME
@@ -50,12 +50,15 @@ The
.Fn devname
function returns a pointer to the name of the block or character
device in
-.Dq Pa /dev
+.Pa /dev
with a device number of
.Fa dev ,
and a file type matching the one encoded in
.Fa type
-which must be one of S_IFBLK or S_IFCHR.
+which must be one of
+.Dv S_IFBLK
+or
+.Dv S_IFCHR .
To find the right name,
.Fn devname
first searches the device database created by
OpenPOWER on IntegriCloud