summaryrefslogtreecommitdiff
path: root/lib/libc/net/getprotoent.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-05 04:41:01 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-05 04:41:01 +0000
commit4f34f217849a15233c45b3dfdc12e3b279e485cf (patch)
tree44abacbb6778dba1bcc99fde94e0d6aae55628d9 /lib/libc/net/getprotoent.3
parentc4947e730cf4e8e35d069af6dc731caa94558f3c (diff)
repairs; better English, formatting, etc.
Diffstat (limited to 'lib/libc/net/getprotoent.3')
-rw-r--r--lib/libc/net/getprotoent.311
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index 46ab239c508..01f752ad5ff 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getprotoent.3,v 1.4 1999/05/25 01:50:58 aaron Exp $
+.\" $OpenBSD: getprotoent.3,v 1.5 1999/07/05 04:40:59 aaron Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -79,7 +79,7 @@ The members of this structure are:
.It Fa p_name
The official name of the protocol.
.It Fa p_aliases
-A zero terminated list of alternate names for the protocol.
+A zero-terminated list of alternate names for the protocol.
.It Fa p_proto
The protocol number.
.El
@@ -95,7 +95,7 @@ function
opens and rewinds the file. If the
.Fa stayopen
flag is non-zero,
-the net data base will not be closed after each call to
+the net data base will not be closed after each call to
.Fn getprotobyname
or
.Fn getprotobynumber .
@@ -136,11 +136,10 @@ The
.Fn setprotoent ,
and
.Fn endprotoent
-functions appeared in
+functions appeared in
.Bx 4.2 .
.Sh BUGS
These functions use a static data space;
if the data is needed for future use, it should be
copied before any subsequent calls overwrite it.
-Only the Internet
-protocols are currently understood.
+Only the Internet protocols are currently understood.