summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsockopt.2
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-02-15 19:04:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-02-15 19:04:22 +0000
commit1050c5bee669aa021b4d47acff404b956b1b163e (patch)
tree5ee871ff0e36443e374115c259aecfbc5d48b7e5 /lib/libc/sys/getsockopt.2
parent56d69c7a8464e0b9ddedaff5f356f4c19656efe3 (diff)
Use and document socklen_t
Diffstat (limited to 'lib/libc/sys/getsockopt.2')
-rw-r--r--lib/libc/sys/getsockopt.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index 1e407284707..cd3d2fb43f9 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsockopt.2,v 1.6 1998/08/17 17:35:11 deraadt Exp $
+.\" $OpenBSD: getsockopt.2,v 1.7 1999/02/15 19:04:21 millert Exp $
.\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd April 19, 1994
+.Dd February 15, 1999
.Dt GETSOCKOPT 2
.Os BSD 4.3r
.Sh NAME
@@ -45,9 +45,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