diff options
author | tuexen <tuexen@FreeBSD.org> | 2015-04-23 13:10:03 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2015-04-23 13:10:03 +0000 |
commit | f913520b81e2f284bbafb592b326fcfa61a3bcf6 (patch) | |
tree | 5994b18b39af336ead6861add84ccadf3d4f3023 /lib | |
parent | fe18a7c9f22dfdb0e0661d4d601442d819d6ffaa (diff) | |
download | FreeBSD-src-f913520b81e2f284bbafb592b326fcfa61a3bcf6.zip FreeBSD-src-f913520b81e2f284bbafb592b326fcfa61a3bcf6.tar.gz |
A complete user message is signalled with the MSG_EOR flag, not the MSG_EOF
flag.
Thanks to Valentin Nechayev for reporting the issue.
MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/sctp_recvmsg.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/sctp_recvmsg.3 b/lib/libc/net/sctp_recvmsg.3 index bb1cf06..945797d 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 |