summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getpeername.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/getpeername.2
parent56d69c7a8464e0b9ddedaff5f356f4c19656efe3 (diff)
Use and document socklen_t
Diffstat (limited to 'lib/libc/sys/getpeername.2')
-rw-r--r--lib/libc/sys/getpeername.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2
index 1fb0ffa6583..3d672ab5da3 100644
--- a/lib/libc/sys/getpeername.2
+++ b/lib/libc/sys/getpeername.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpeername.2,v 1.4 1998/07/06 18:27:32 deraadt Exp $
+.\" $OpenBSD: getpeername.2,v 1.5 1999/02/15 19:04:20 millert Exp $
.\" $NetBSD: getpeername.2,v 1.6 1995/10/12 15:40:56 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)getpeername.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd June 4, 1993
+.Dd February 15, 1999
.Dt GETPEERNAME 2
.Os BSD 4.2
.Sh NAME
@@ -43,7 +43,7 @@
.Sh SYNOPSIS
.Fd #include <sys/socket.h>
.Ft int
-.Fn getpeername "int s" "struct sockaddr *name" "int *namelen"
+.Fn getpeername "int s" "struct sockaddr *name" "socklen_t *namelen"
.Sh DESCRIPTION
.Fn Getpeername
returns the name of the peer connected to