diff options
author | aaron <> | 1999-07-05 04:41:00 +0000 |
---|---|---|
committer | aaron <> | 1999-07-05 04:41:00 +0000 |
commit | c47037b066169c61c5eefad3368f2da73ca4be54 (patch) | |
tree | fa80157fecd0fbb57811f82d8f3ce1366b44a203 /src/lib/libc/net/getnetent.3 | |
parent | 5f78a44df1a8e524a82445f2fedb382128869a2a (diff) | |
download | openbsd-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.3 | 11 |
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 |
80 | The official name of the network. | 80 | The official name of the network. |
81 | .It Fa n_aliases | 81 | .It Fa n_aliases |
82 | A zero terminated list of alternate names for the network. | 82 | A zero-terminated list of alternate names for the network. |
83 | .It Fa n_addrtype | 83 | .It Fa n_addrtype |
84 | The type of the network number returned; currently only AF_INET. | 84 | The type of the network number returned; currently only |
85 | .Dv AF_INET . | ||
85 | .It Fa n_net | 86 | .It Fa n_net |
86 | The network number. Network numbers are returned in machine byte | 87 | The network number. Network numbers are returned in machine byte |
87 | order. | 88 | order. |
@@ -98,7 +99,7 @@ function | |||
98 | opens and rewinds the file. If the | 99 | opens and rewinds the file. If the |
99 | .Fa stayopen | 100 | .Fa stayopen |
100 | flag is non-zero, | 101 | flag is non-zero, |
101 | the net data base will not be closed after each call to | 102 | the net data base will not be closed after each call to |
102 | .Fn getnetbyname | 103 | .Fn getnetbyname |
103 | or | 104 | or |
104 | .Fn getnetbyaddr . | 105 | .Fn getnetbyaddr . |
@@ -140,7 +141,7 @@ The | |||
140 | .Fn setnetent , | 141 | .Fn setnetent , |
141 | and | 142 | and |
142 | .Fn endnetent | 143 | .Fn endnetent |
143 | functions appeared in | 144 | functions appeared in |
144 | .Bx 4.2 . | 145 | .Bx 4.2 . |
145 | .Sh BUGS | 146 | .Sh BUGS |
146 | The data space used by these functions is static; if future use | 147 | The data space used by these functions is static; if future use |