summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2015-05-29 13:32:08 +0000
committertuexen <tuexen@FreeBSD.org>2015-05-29 13:32:08 +0000
commit109c389f07ee9e8626156479a2d04049dce7a65f (patch)
tree397791caef9e4da548f1d29e58e1a99c422004bd
parent1fcb0f4ab05895b767c7424efd9e01935d6d8ff6 (diff)
downloadFreeBSD-src-109c389f07ee9e8626156479a2d04049dce7a65f.zip
FreeBSD-src-109c389f07ee9e8626156479a2d04049dce7a65f.tar.gz
MFC r281884:
A complete user message is signalled with the MSG_EOR flag, not the MSG_EOF flag. Thanks to Valentin Nechayev for reporting the issue.
-rw-r--r--lib/libc/net/sctp_recvmsg.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/sctp_recvmsg.3 b/lib/libc/net/sctp_recvmsg.3
index e3ced9c..5bcf979 100644
--- a/lib/libc/net/sctp_recvmsg.3
+++ b/lib/libc/net/sctp_recvmsg.3
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 13, 2007
+.Dd April 23, 2015
.Dt SCTP_RECVMSG 3
.Os
.Sh NAME
@@ -98,13 +98,13 @@ receive buffer, then the
argument will
.Em not
have the
-.Dv MSG_EOF
+.Dv MSG_EOR
flag applied.
If the message is a complete message then
the
.Fa flags
argument will have
-.Dv MSG_EOF
+.Dv MSG_EOR
set.
Locally detected errors are
indicated by a return value of -1 with
OpenPOWER on IntegriCloud