summaryrefslogtreecommitdiff
path: root/lib/libc/net/getprotoent.3
diff options
context:
space:
mode:
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.