diff options
author | Peter Wemm <peter@FreeBSD.org> | 1996-11-01 06:29:00 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1996-11-01 06:29:00 +0000 |
commit | c293d821b3220de377d5bedc2d4452a7f0c1858f (patch) | |
tree | 58bbf766db3c172803a17c29ef522324ae3fcab6 /lib/libc/net/getnetent.3 | |
parent | df9c30afec75a16c7cf5772dd4728ce3387e70f4 (diff) | |
download | src-c293d821b3220de377d5bedc2d4452a7f0c1858f.tar.gz src-c293d821b3220de377d5bedc2d4452a7f0c1858f.zip |
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.
Notes
Notes:
svn path=/head/; revision=19302
Diffstat (limited to 'lib/libc/net/getnetent.3')
-rw-r--r-- | lib/libc/net/getnetent.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3 index 7514371c4577..6b6aeb9a7935 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 , |