summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/send.2
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2003-09-10 19:19:49 +0000
committerroberto <roberto@FreeBSD.org>2003-09-10 19:19:49 +0000
commit3cab909501be5c044500f26980d1f9eea870312b (patch)
treec216df338e558c71e8dca99b4956af15b93f1123 /lib/libc/sys/send.2
parent27262d3f8df76e57261acbb669dc33e3248730b9 (diff)
downloadFreeBSD-src-3cab909501be5c044500f26980d1f9eea870312b.zip
FreeBSD-src-3cab909501be5c044500f26980d1f9eea870312b.tar.gz
Document the fact that send(2) can return EPIPE (like when a socket is not
connected). PR: docs/56683 Submitted by: Chris S.J. Peron <maneo@bsdpro.com> MFC after: 3 days
Diffstat (limited to 'lib/libc/sys/send.2')
-rw-r--r--lib/libc/sys/send.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2
index dfd110d..e2e0527 100644
--- a/lib/libc/sys/send.2
+++ b/lib/libc/sys/send.2
@@ -189,6 +189,10 @@ receiver is not listening on the remote port.
The remote host was down.
.It Bq Er ENETDOWN
The remote network was down.
+.It Bq Er EPIPE
+The socket is unable to send anymore data (SS_CANTSENDMORE has
+been set on the socket). This typically means that the socket
+is not connected.
.El
.Sh BUGS
Because
OpenPOWER on IntegriCloud