diff options
author | kevlo <kevlo@FreeBSD.org> | 2014-07-24 05:59:32 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2014-07-24 05:59:32 +0000 |
commit | 0320ab178434e3509e0e67e03742149aec47a2b6 (patch) | |
tree | f3f310715c8b1ef01e307480f8cda61aed2ac10f /lib | |
parent | 771984715d5e0ccbeee8672fb6637d3ece52fe0d (diff) | |
download | FreeBSD-src-0320ab178434e3509e0e67e03742149aec47a2b6.zip FreeBSD-src-0320ab178434e3509e0e67e03742149aec47a2b6.tar.gz |
MFC r268643:
Document that listen(2) can fail with EDESTADDRREQ.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/listen.2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2 index ab22fd1..90059f8 100644 --- a/lib/libc/sys/listen.2 +++ b/lib/libc/sys/listen.2 @@ -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 |