summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getnetent.3
diff options
context:
space:
mode:
authoraaron <>1999-07-05 04:41:00 +0000
committeraaron <>1999-07-05 04:41:00 +0000
commitc47037b066169c61c5eefad3368f2da73ca4be54 (patch)
treefa80157fecd0fbb57811f82d8f3ce1366b44a203 /src/lib/libc/net/getnetent.3
parent5f78a44df1a8e524a82445f2fedb382128869a2a (diff)
downloadopenbsd-c47037b066169c61c5eefad3368f2da73ca4be54.tar.gz
openbsd-c47037b066169c61c5eefad3368f2da73ca4be54.tar.bz2
openbsd-c47037b066169c61c5eefad3368f2da73ca4be54.zip
repairs; better English, formatting, etc.
Diffstat (limited to 'src/lib/libc/net/getnetent.3')
-rw-r--r--src/lib/libc/net/getnetent.311
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libc/net/getnetent.3 b/src/lib/libc/net/getnetent.3
index ddc9a8513b..05478afdfb 100644
--- a/src/lib/libc/net/getnetent.3
+++ b/src/lib/libc/net/getnetent.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getnetent.3,v 1.7 1999/05/25 01:50:58 aaron Exp $ 1.\" $OpenBSD: getnetent.3,v 1.8 1999/07/05 04:40:59 aaron Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -79,9 +79,10 @@ The members of this structure are:
79.It Fa n_name 79.It Fa n_name
80The official name of the network. 80The official name of the network.
81.It Fa n_aliases 81.It Fa n_aliases
82A zero terminated list of alternate names for the network. 82A zero-terminated list of alternate names for the network.
83.It Fa n_addrtype 83.It Fa n_addrtype
84The type of the network number returned; currently only AF_INET. 84The type of the network number returned; currently only
85.Dv AF_INET .
85.It Fa n_net 86.It Fa n_net
86The network number. Network numbers are returned in machine byte 87The network number. Network numbers are returned in machine byte
87order. 88order.
@@ -98,7 +99,7 @@ function
98opens and rewinds the file. If the 99opens and rewinds the file. If the
99.Fa stayopen 100.Fa stayopen
100flag is non-zero, 101flag is non-zero,
101the net data base will not be closed after each call to 102the net data base will not be closed after each call to
102.Fn getnetbyname 103.Fn getnetbyname
103or 104or
104.Fn getnetbyaddr . 105.Fn getnetbyaddr .
@@ -140,7 +141,7 @@ The
140.Fn setnetent , 141.Fn setnetent ,
141and 142and
142.Fn endnetent 143.Fn endnetent
143functions appeared in 144functions appeared in
144.Bx 4.2 . 145.Bx 4.2 .
145.Sh BUGS 146.Sh BUGS
146The data space used by these functions is static; if future use 147The data space used by these functions is static; if future use