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/getprotoent.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/getprotoent.3')
-rw-r--r-- | src/lib/libc/net/getprotoent.3 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/libc/net/getprotoent.3 b/src/lib/libc/net/getprotoent.3 index 46ab239c50..01f752ad5f 100644 --- a/src/lib/libc/net/getprotoent.3 +++ b/src/lib/libc/net/getprotoent.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: getprotoent.3,v 1.4 1999/05/25 01:50:58 aaron Exp $ | 1 | .\" $OpenBSD: getprotoent.3,v 1.5 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,7 +79,7 @@ The members of this structure are: | |||
79 | .It Fa p_name | 79 | .It Fa p_name |
80 | The official name of the protocol. | 80 | The official name of the protocol. |
81 | .It Fa p_aliases | 81 | .It Fa p_aliases |
82 | A zero terminated list of alternate names for the protocol. | 82 | A zero-terminated list of alternate names for the protocol. |
83 | .It Fa p_proto | 83 | .It Fa p_proto |
84 | The protocol number. | 84 | The protocol number. |
85 | .El | 85 | .El |
@@ -95,7 +95,7 @@ function | |||
95 | opens and rewinds the file. If the | 95 | opens and rewinds the file. If the |
96 | .Fa stayopen | 96 | .Fa stayopen |
97 | flag is non-zero, | 97 | flag is non-zero, |
98 | the net data base will not be closed after each call to | 98 | the net data base will not be closed after each call to |
99 | .Fn getprotobyname | 99 | .Fn getprotobyname |
100 | or | 100 | or |
101 | .Fn getprotobynumber . | 101 | .Fn getprotobynumber . |
@@ -136,11 +136,10 @@ The | |||
136 | .Fn setprotoent , | 136 | .Fn setprotoent , |
137 | and | 137 | and |
138 | .Fn endprotoent | 138 | .Fn endprotoent |
139 | functions appeared in | 139 | functions appeared in |
140 | .Bx 4.2 . | 140 | .Bx 4.2 . |
141 | .Sh BUGS | 141 | .Sh BUGS |
142 | These functions use a static data space; | 142 | These functions use a static data space; |
143 | if the data is needed for future use, it should be | 143 | if the data is needed for future use, it should be |
144 | copied before any subsequent calls overwrite it. | 144 | copied before any subsequent calls overwrite it. |
145 | Only the Internet | 145 | Only the Internet protocols are currently understood. |
146 | protocols are currently understood. | ||