aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsockopt.2
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-11-24 20:49:04 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-11-24 20:49:04 +0000
commit9b962c56a47dfb8086850aab1336f72fc38684a1 (patch)
tree65494a116459421d7a5750fb4bae370b8bb5de06 /lib/libc/sys/getsockopt.2
parenta27816e5a5330fef1e562d7e659575244450c6ce (diff)
downloadsrc-9b962c56a47dfb8086850aab1336f72fc38684a1.tar.gz
src-9b962c56a47dfb8086850aab1336f72fc38684a1.zip
General clean-up of socket.h and associated sources to synchronise up
with NetBSD and the Single Unix Specification v2. This updates some structures with other, almost equivalent types and effort is under way to get the whole more consistent. Also removes a double definition of INET6 and some other clean-ups. Reviewed by: green, bde, phk Some part obtained from: NetBSD, SUSv2 specification
Notes
Notes: svn path=/head/; revision=53678
Diffstat (limited to 'lib/libc/sys/getsockopt.2')
-rw-r--r--lib/libc/sys/getsockopt.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index 6cc8e49a2e4f..db1f83493c77 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -43,9 +43,9 @@
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
-.Fn getsockopt "int s" "int level" "int optname" "void *optval" "int *optlen"
+.Fn getsockopt "int s" "int level" "int optname" "void *optval" "socklen_t *optlen"
.Ft int
-.Fn setsockopt "int s" "int level" "int optname" "const void *optval" "int optlen"
+.Fn setsockopt "int s" "int level" "int optname" "const void *optval" "socklen_t optlen"
.Sh DESCRIPTION
.Fn Getsockopt
and