Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Remove the BUGS section from devname(3)
details: https://anonhg.NetBSD.org/src/rev/adf693ee1eb4
branches: trunk
changeset: 356213:adf693ee1eb4
user: kamil <kamil%NetBSD.org@localhost>
date: Sat Sep 09 18:45:04 2017 +0000
description:
Remove the BUGS section from devname(3)
devname(3) does not report type of error on purpose.
Suggested by <kre>
diffstat:
lib/libc/gen/devname.3 | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (29 lines):
diff -r 83ace6121851 -r adf693ee1eb4 lib/libc/gen/devname.3
--- a/lib/libc/gen/devname.3 Sat Sep 09 18:18:27 2017 +0000
+++ b/lib/libc/gen/devname.3 Sat Sep 09 18:45:04 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: devname.3,v 1.13 2017/09/09 18:00:39 kamil Exp $
+.\" $NetBSD: devname.3,v 1.14 2017/09/09 18:45:04 kamil Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -94,10 +94,8 @@
will return error number indicating what went wrong.
.Sh ERRORS
The
-.Fn devname
-and
.Fn devname_r
-functions my fail if:
+function my fail if:
.Bl -tag -width Er
.It Bq Er ENOENT
the corresponding device does not exist
@@ -122,7 +120,3 @@
.Fn devname_r
function first appeared in
.Nx 6.0 .
-.Sh BUGS
-The
-.Fn devname
-function does not set errno on failure.
Home |
Main Index |
Thread Index |
Old Index