From 5e48557ef01d0f0c1294925839fb45aaba700b45 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Tue, 4 Dec 2012 09:53:09 +0000 Subject: [PATCH] Document that bind(2) can fail with EAFNOSUPPORT. Reviewed by: glebius --- lib/libc/sys/bind.2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index fecc5fa5a63..896b0053cad 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.