Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net getservent(3): Section 3 has RETURN VALUES, not...



details:   https://anonhg.NetBSD.org/src/rev/23a1e9daa098
branches:  trunk
changeset: 372508:23a1e9daa098
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Dec 04 00:13:11 2022 +0000

description:
getservent(3): Section 3 has RETURN VALUES, not DIAGNOSTICS

While here, don't claim that null pointer is zero.

We should probably just pick the wording from POSIX, but that yak is a
bit too big for me to shave at the moment.

diffstat:

 lib/libc/net/getservent.3 |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r d63aa76bc8ae -r 23a1e9daa098 lib/libc/net/getservent.3
--- a/lib/libc/net/getservent.3 Sat Dec 03 23:55:52 2022 +0000
+++ b/lib/libc/net/getservent.3 Sun Dec 04 00:13:11 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getservent.3,v 1.15 2022/12/03 23:55:52 jschauma Exp $
+.\"    $NetBSD: getservent.3,v 1.16 2022/12/04 00:13:11 uwe Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -129,9 +129,8 @@
 .It Pa /etc/services
 .It Pa /var/db/services.cdb
 .El
-.Sh DIAGNOSTICS
-Null pointer
-(0) returned on
+.Sh RETURN VALUES
+Null pointer is returned on
 .Dv EOF
 or error.
 .Sh SEE ALSO



Home | Main Index | Thread Index | Old Index