Module Name:    src
Committed By:   kamil
Date:           Wed Feb 21 03:13:50 UTC 2018

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

Log Message:
Improve the getnetent(3) man-page

Document return type of setnetent(3) and endnetent(3). Both "void".

Sponsored by <The NetBSD Foundation>


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/net/getnetent.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/getnetent.3
diff -u src/lib/libc/net/getnetent.3:1.13 src/lib/libc/net/getnetent.3:1.14
--- src/lib/libc/net/getnetent.3:1.13	Sat May  8 18:52:15 2004
+++ src/lib/libc/net/getnetent.3	Wed Feb 21 03:13:50 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: getnetent.3,v 1.13 2004/05/08 18:52:15 kleink Exp $
+.\"	$NetBSD: getnetent.3,v 1.14 2018/02/21 03:13:50 kamil Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)getnetent.3	8.1 (Berkeley) 6/4/93
 .\"
-.Dd May 8, 2004
+.Dd February 21, 2018
 .Dt GETNETENT 3
 .Os
 .Sh NAME
@@ -49,7 +49,9 @@
 .Fn getnetbyname "const char *name"
 .Ft struct netent *
 .Fn getnetbyaddr "uint32_t net" "int type"
+.Ft void
 .Fn setnetent "int stayopen"
+.Ft void
 .Fn endnetent
 .Sh DESCRIPTION
 The

Reply via email to