summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/addr2ascii.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/addr2ascii.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/addr2ascii.3')
-rw-r--r--lib/libc/net/addr2ascii.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/addr2ascii.3 b/lib/libc/net/addr2ascii.3
index 1933124..282acac 100644
--- a/lib/libc/net/addr2ascii.3
+++ b/lib/libc/net/addr2ascii.3
@@ -36,11 +36,12 @@
.Nm ascii2addr
.Nd Generic address formatting routines
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Fd #include <arpa/inet.h>
.Ft "char *"
-.Fn addr2ascii "int af" "const void *addrp" "size_t len" "char *buf"
+.Fn addr2ascii "int af" "const void *addrp" "int len" "char *buf"
.Ft int
.Fn ascii2addr "int af" "const char *ascii" "void *result"
.Sh DESCRIPTION
OpenPOWER on IntegriCloud