Backed out previous commit. devname.3 and devname.c were broken in Lite1
(devname() returned "??" when the lookup failed, but callers expected it to return NULL). This was fixed in Lite2, but until recently the changes were only merged into devname.3. A day or two after devname.c was fixed, devname.3 was made inconsistent again by backing out most of the Lite2 changes.
This commit is contained in:
parent
03e3bc8e62
commit
6b288cfa64
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)devname.3 8.2 (Berkeley) 4/29/95
|
||||
.\" $Id: devname.3,v 1.4 1999/07/12 20:46:25 nik Exp $
|
||||
.\" $Id: devname.3,v 1.5 1999/07/20 20:48:40 nik Exp $
|
||||
.\"
|
||||
.Dd April 29, 1995
|
||||
.Dt DEVNAME 3
|
||||
@ -54,9 +54,11 @@ and a file type matching the one encoded in
|
||||
.Fa type
|
||||
which must be one of S_IFBLK or S_IFCHR.
|
||||
If no device matches the specified values, or no information is
|
||||
available, the string
|
||||
.Dq ??
|
||||
is returned.
|
||||
available, NULL is returned.
|
||||
.Pp
|
||||
The traditional display for applications when no device is
|
||||
found is the string
|
||||
.Dq ?? .
|
||||
.Sh SEE ALSO
|
||||
.Xr stat 2 ,
|
||||
.Xr dev_mkdb 8
|
||||
|
Loading…
x
Reference in New Issue
Block a user