Date: Tue, 15 Jul 2014 02:21:52 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268643 - head/lib/libc/sys Message-ID: <201407150221.s6F2LqmZ048097@svn.freebsd.org>
index | next in thread | raw e-mail
Author: kevlo Date: Tue Jul 15 02:21:51 2014 New Revision: 268643 URL: http://svnweb.freebsd.org/changeset/base/268643 Log: Document that listen(2) can fail with EDESTADDRREQ. Modified: head/lib/libc/sys/listen.2 Modified: head/lib/libc/sys/listen.2 ============================================================================== --- head/lib/libc/sys/listen.2 Tue Jul 15 02:21:35 2014 (r268642) +++ head/lib/libc/sys/listen.2 Tue Jul 15 02:21:51 2014 (r268643) @@ -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 ENOTSOCKhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407150221.s6F2LqmZ048097>
