Module Name: src
Committed By: jdf
Date: Mon Jul 9 21:22:21 UTC 2012
Modified Files:
src/lib/libc/sys: getsockname.2
Log Message:
Add ENOTCONN to returned error codes, bump date.
Tip of asau.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/sys/getsockname.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/getsockname.2
diff -u src/lib/libc/sys/getsockname.2:1.23 src/lib/libc/sys/getsockname.2:1.24
--- src/lib/libc/sys/getsockname.2:1.23 Thu Aug 7 16:43:59 2003
+++ src/lib/libc/sys/getsockname.2 Mon Jul 9 21:22:21 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: getsockname.2,v 1.23 2003/08/07 16:43:59 agc Exp $
+.\" $NetBSD: getsockname.2,v 1.24 2012/07/09 21:22:21 jdf Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)getsockname.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd August 11, 2002
+.Dd July 9, 2012
.Dt GETSOCKNAME 2
.Os
.Sh NAME
@@ -134,6 +134,8 @@ is a file, not a socket.
The socket has been shut down.
.It Bq Er ENOBUFS
Insufficient resources were available in the system to perform the operation.
+.It Bq Er ENOTCONN
+The socket is not connected.
.It Bq Er EFAULT
The
.Fa name