Module Name: src
Committed By: uwe
Date: Wed Feb 21 14:11:09 UTC 2018
Modified Files:
src/lib/libc/net: getnetent.3
Log Message:
Consistenly use "host byte order".
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 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.15 src/lib/libc/net/getnetent.3:1.16
--- src/lib/libc/net/getnetent.3:1.15 Wed Feb 21 09:47:37 2018
+++ src/lib/libc/net/getnetent.3 Wed Feb 21 14:11:09 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: getnetent.3,v 1.15 2018/02/21 09:47:37 wiz Exp $
+.\" $NetBSD: getnetent.3,v 1.16 2018/02/21 14:11:09 uwe Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -83,7 +83,7 @@ The type of the network number returned;
.Dv AF_INET .
.It Fa n_net
The network number.
-Network numbers are returned in machine byte order.
+Network numbers are returned in host byte order.
.El
.Pp
The
@@ -113,7 +113,7 @@ functions sequentially search from the b
a matching net name or net address and type is found, or until
.Dv EOF
is encountered.
-Network numbers are supplied in host order.
+Network numbers are supplied in host byte order.
.Sh FILES
.Bl -tag -width /etc/networks -compact
.It Pa /etc/networks