summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getnetent.3
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-11-01 06:29:00 +0000
committerpeter <peter@FreeBSD.org>1996-11-01 06:29:00 +0000
commit259bccfa492f72406c4205a16808d8749926d8ea (patch)
tree58bbf766db3c172803a17c29ef522324ae3fcab6 /lib/libc/net/getnetent.3
parentf21a0e44182a336c25b015823557bf2ac004e6b7 (diff)
downloadFreeBSD-src-259bccfa492f72406c4205a16808d8749926d8ea.zip
FreeBSD-src-259bccfa492f72406c4205a16808d8749926d8ea.tar.gz
Doc updates and cleanups made with the bind-4.9.4 update some time ago.
I thought I had committed these, but it seems not.
Diffstat (limited to 'lib/libc/net/getnetent.3')
-rw-r--r--lib/libc/net/getnetent.310
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 7514371c..6b6aeb9 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -46,7 +46,7 @@
.Ft struct netent *
.Fn getnetent
.Ft struct netent *
-.Fn getnetbyname "char *name"
+.Fn getnetbyname "const char *name"
.Ft struct netent *
.Fn getnetbyaddr "long net" "int type"
.Fn setnetent "int stayopen"
@@ -117,7 +117,10 @@ net name or
net address and type is found,
or until
.Dv EOF
-is encountered.
+is encountered. The
+.Fa type
+must be
+.Dv AF_INET .
Network numbers are supplied in host order.
.Sh FILES
.Bl -tag -width /etc/networks -compact
@@ -129,7 +132,8 @@ Null pointer
.Dv EOF
or error.
.Sh SEE ALSO
-.Xr networks 5
+.Xr networks 5 ,
+.%T RFC 1101
.Sh HISTORY
The
.Fn getnetent ,
OpenPOWER on IntegriCloud