summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-03-23 16:29:05 +0000
committerbde <bde@FreeBSD.org>2000-03-23 16:29:05 +0000
commitc5722a7dedc15b5137d6d92fdc303fd84bde73b8 (patch)
tree67916b9d1637d46531948ac2f38d6311210e6e89 /lib/libc/net
parent919947edc5f83fe69e321a935f9d6669ffbd1aa4 (diff)
downloadFreeBSD-src-c5722a7dedc15b5137d6d92fdc303fd84bde73b8.zip
FreeBSD-src-c5722a7dedc15b5137d6d92fdc303fd84bde73b8.tar.gz
Fixed missing #include of <sys/types.h> in synopsis.
Fixed spelling error in prototype for inet_option_space(). Fixed syntax error in prototype for inet6_option_alloc().
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/inet6_option_space.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3
index acb391e..6fd71b6 100644
--- a/lib/libc/net/inet6_option_space.3
+++ b/lib/libc/net/inet6_option_space.3
@@ -46,15 +46,16 @@
.Nd IPv6 Hop-by-Hop and Destination Options manipulation
.\"
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <netinet/in.h>
.Ft "int"
-.Fn inet6_options_space "int nbytes"
+.Fn inet6_option_space "int nbytes"
.Ft "int"
.Fn inet6_option_init "void *bp" "struct cmsghdr **cmsgp" "int type"
.Ft "int"
.Fn inet6_option_append "struct cmsghdr *cmsg" "const u_int8_t *typep" "int multx" "int plusy"
.Ft "u_int8_t *"
-.Fn inet6_option_alloc "struct cmsghdr *cmsg" "int datalen" "int multx" "int plusy";
+.Fn inet6_option_alloc "struct cmsghdr *cmsg" "int datalen" "int multx" "int plusy"
.Ft "int"
.Fn inet6_option_next "const struct cmsghdr *cmsg" "u_int8_t **tptrp"
.Ft "int"
OpenPOWER on IntegriCloud