summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2000-01-05 19:02:14 +0000
committerBruce Evans <bde@FreeBSD.org>2000-01-05 19:02:14 +0000
commitd1b50a3da84cafc622a0795f7fd63d7b2ebba8b8 (patch)
tree57cbb3ec89ba1172f10cea07b5c79232fdd3226b /lib/libc
parent6e79d3e367f83046f35373aa68b81d028c57bb46 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getaddrinfo.34
-rw-r--r--lib/libc/net/getnameinfo.34
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 39bcdb710249..754a79673453 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -44,11 +44,11 @@
.Nd nodename-to-address translation in protocol-independent manner
.\"
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netdb.h>
.Ft int
-.Fn getaddrinfo "const char *nodename" "const char *servname" \
-"const struct addrinfo *hints" "struct addrinfo **res"
+.Fn getaddrinfo "const char *nodename" "const char *servname" "const struct addrinfo *hints" "struct addrinfo **res"
.Ft void
.Fn freeaddrinfo "struct addrinfo *ai"
.Ft "char *"
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index c110ac92a523..732af8eae3f1 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -42,11 +42,11 @@
.Nd address-to-nodename translation in protocol-independent manner
.\"
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netdb.h>
.Ft int
-.Fn getnameinfo "const struct sockaddr *sa" "socklen_t salen" \
-"char *host" "size_t hostlen" "char *serv" "size_t servlen" "int flags"
+.Fn getnameinfo "const struct sockaddr *sa" "socklen_t salen" "char *host" "size_t hostlen" "char *serv" "size_t servlen" "int flags"
.\"
.Sh DESCRIPTION
The