From 259bccfa492f72406c4205a16808d8749926d8ea Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 1 Nov 1996 06:29:00 +0000 Subject: 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. --- lib/libc/net/getnetent.3 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/libc/net/getnetent.3') 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 , -- cgit v1.1