summaryrefslogtreecommitdiff
path: root/lib/libc/sys/bind.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/bind.2
parent56d69c7a8464e0b9ddedaff5f356f4c19656efe3 (diff)
Use and document socklen_t
Diffstat (limited to 'lib/libc/sys/bind.2')
-rw-r--r--lib/libc/sys/bind.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2
index 247eec0c382..7d0fabb8825 100644
--- a/lib/libc/sys/bind.2
+++ b/lib/libc/sys/bind.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bind.2,v 1.3 1998/07/06 18:27:06 deraadt Exp $
+.\" $OpenBSD: bind.2,v 1.4 1999/02/15 19:04:19 millert Exp $
.\" $NetBSD: bind.2,v 1.8 1995/10/12 15:40:46 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)bind.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd June 4, 1993
+.Dd February 15, 1999
.Dt BIND 2
.Os BSD 4.2
.Sh NAME
@@ -44,7 +44,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
-.Fn bind "int s" "const struct sockaddr *name" "int namelen"
+.Fn bind "int s" "const struct sockaddr *name" "socklen_t namelen"
.Sh DESCRIPTION
.Fn Bind
assigns a name to an unnamed socket.