summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsockname.2
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-03-31 22:11:27 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-03-31 22:11:27 +0000
commit057ba21af51c17a2a371f134dbb215e00362bb53 (patch)
treee775f4dbd9c2e006249c86d6e91fc4faf6f1b5fc /lib/libc/sys/getsockname.2
parentd54fbe4007bc35441a81861d2f6707cbfb993fde (diff)
More SYNOPSIS, ERRORS, and STANDARDS updates
Diffstat (limited to 'lib/libc/sys/getsockname.2')
-rw-r--r--lib/libc/sys/getsockname.210
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2
index c64b09ccb07..6523ba1e7ed 100644
--- a/lib/libc/sys/getsockname.2
+++ b/lib/libc/sys/getsockname.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsockname.2,v 1.28 2012/10/12 20:45:49 guenther Exp $
+.\" $OpenBSD: getsockname.2,v 1.29 2013/03/31 22:11:26 guenther Exp $
.\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,14 +30,13 @@
.\"
.\" @(#)getsockname.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: October 12 2012 $
+.Dd $Mdocdate: March 31 2013 $
.Dt GETSOCKNAME 2
.Os
.Sh NAME
.Nm getsockname
.Nd get socket name
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn getsockname "int s" "struct sockaddr *name" "socklen_t *namelen"
@@ -151,6 +150,11 @@ process address space.
.Xr getpeername 2 ,
.Xr socket 2 ,
.Xr getpeereid 3
+.Sh STANDARDS
+The
+.Fn getsockname
+function conforms to
+.St -p1003.1-2008 .
.Sh HISTORY
The
.Fn getsockname