summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-12-04 09:53:09 +0000
committerkevlo <kevlo@FreeBSD.org>2012-12-04 09:53:09 +0000
commita8471d78beb78d784d4237ece85c2df6dfaaf138 (patch)
tree2d458239198e89c833c396ec51c2d3d2405a676f
parenta69aaa772119d359e38760dd0e931bed9afb88bf (diff)
downloadFreeBSD-src-a8471d78beb78d784d4237ece85c2df6dfaaf138.zip
FreeBSD-src-a8471d78beb78d784d4237ece85c2df6dfaaf138.tar.gz
Document that bind(2) can fail with EAFNOSUPPORT.
Reviewed by: glebius
-rw-r--r--lib/libc/sys/bind.22
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2
index fecc5fa..896b005 100644
--- a/lib/libc/sys/bind.2
+++ b/lib/libc/sys/bind.2
@@ -94,6 +94,8 @@ is not a socket.
The specified address is not available from the local machine.
.It Bq Er EADDRINUSE
The specified address is already in use.
+.It Bq Er EAFNOSUPPORT
+Addresses in the specified address family cannot be used with this socket.
.It Bq Er EACCES
The requested address is protected, and the current user
has inadequate permission to access it.
OpenPOWER on IntegriCloud