summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getprotoent.3
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-13 13:26:42 +0000
committerbde <bde@FreeBSD.org>1997-04-13 13:26:42 +0000
commitf4efda881f0b73cfc108d4f6835ca9dd7f223716 (patch)
tree89752adf36c8dbec3f1aa6c1ec88b0e1e4f3a58f /lib/libc/net/getprotoent.3
parent4cb656bbbf44413b0aa3c2fb129ebf346ce46418 (diff)
downloadFreeBSD-src-f4efda881f0b73cfc108d4f6835ca9dd7f223716.zip
FreeBSD-src-f4efda881f0b73cfc108d4f6835ca9dd7f223716.tar.gz
Fixed #include and/or prototype bugs in synopsis.
Diffstat (limited to 'lib/libc/net/getprotoent.3')
-rw-r--r--lib/libc/net/getprotoent.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index d5d610e..dbf3d1a 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -44,13 +44,15 @@
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Ft struct protoent *
-.Fn getprotoent
+.Fn getprotoent void
.Ft struct protoent *
-.Fn getprotobyname "char *name"
+.Fn getprotobyname "const char *name"
.Ft struct protoent *
.Fn getprotobynumber "int proto"
+.Ft void
.Fn setprotoent "int stayopen"
-.Fn endprotoent
+.Ft void
+.Fn endprotoent void
.Sh DESCRIPTION
The
.Fn getprotoent ,
OpenPOWER on IntegriCloud