Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net Improve the getnetent(3) man-page



details:   https://anonhg.NetBSD.org/src/rev/c0901e789608
branches:  trunk
changeset: 829984:c0901e789608
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Feb 21 03:13:50 2018 +0000

description:
Improve the getnetent(3) man-page

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

Sponsored by <The NetBSD Foundation>

diffstat:

 lib/libc/net/getnetent.3 |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 8ef1275477b0 -r c0901e789608 lib/libc/net/getnetent.3
--- a/lib/libc/net/getnetent.3  Tue Feb 20 18:20:05 2018 +0000
+++ b/lib/libc/net/getnetent.3  Wed Feb 21 03:13:50 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index