summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getnetent.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/getnetent.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/getnetent.3')
-rw-r--r--lib/libc/net/getnetent.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 31ee118..8fb13c0 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -44,13 +44,15 @@
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Ft struct netent *
-.Fn getnetent
+.Fn getnetent void
.Ft struct netent *
.Fn getnetbyname "const char *name"
.Ft struct netent *
.Fn getnetbyaddr "unsigned long net" "int type"
+.Ft void
.Fn setnetent "int stayopen"
-.Fn endnetent
+.Ft void
+.Fn endnetent void
.Sh DESCRIPTION
The
.Fn getnetent ,
OpenPOWER on IntegriCloud