Module Name:    src
Committed By:   uwe
Date:           Sun Dec  4 00:13:11 UTC 2022

Modified Files:
        src/lib/libc/net: getservent.3

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/net/getservent.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/net/getservent.3
diff -u src/lib/libc/net/getservent.3:1.15 src/lib/libc/net/getservent.3:1.16
--- src/lib/libc/net/getservent.3:1.15	Sat Dec  3 23:55:52 2022
+++ src/lib/libc/net/getservent.3	Sun Dec  4 00:13:11 2022
@@ -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 @@ searches must also match the protocol.
 .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

Reply via email to