From owner-svn-src-stable-10@FreeBSD.ORG Thu Jul 24 05:59:32 2014 Return-Path: Delivered-To: svn-src-stable-10@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2CD32CE; Thu, 24 Jul 2014 05:59:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFA1B2760; Thu, 24 Jul 2014 05:59:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6O5xWPK030302; Thu, 24 Jul 2014 05:59:32 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6O5xWcS030301; Thu, 24 Jul 2014 05:59:32 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201407240559.s6O5xWcS030301@svn.freebsd.org> From: Kevin Lo Date: Thu, 24 Jul 2014 05:59:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r269045 - stable/10/lib/libc/sys X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 05:59:32 -0000 Author: kevlo Date: Thu Jul 24 05:59:32 2014 New Revision: 269045 URL: http://svnweb.freebsd.org/changeset/base/269045 Log: MFC r268643: Document that listen(2) can fail with EDESTADDRREQ. Modified: stable/10/lib/libc/sys/listen.2 Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libc/sys/listen.2 ============================================================================== --- stable/10/lib/libc/sys/listen.2 Thu Jul 24 05:57:33 2014 (r269044) +++ stable/10/lib/libc/sys/listen.2 Thu Jul 24 05:59:32 2014 (r269045) @@ -28,7 +28,7 @@ .\" From: @(#)listen.2 8.2 (Berkeley) 12/11/93 .\" $FreeBSD$ .\" -.Dd October 20, 2012 +.Dd July 15, 2014 .Dt LISTEN 2 .Os .Sh NAME @@ -139,6 +139,9 @@ will fail if: The argument .Fa s is not a valid descriptor. +.It Bq Er EDESTADDRREQ +The socket is not bound to a local address, and the protocol does not +support listening on an unbound socket. .It Bq Er EINVAL The socket is already connected, or in the process of being connected. .It Bq Er ENOTSOCK