summaryrefslogtreecommitdiffstats
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.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