Date: Thu, 24 Jul 2014 05:59:32 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> 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 Message-ID: <201407240559.s6O5xWcS030301@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407240559.s6O5xWcS030301>