Commit 082457b6 authored by Anton Dimitrov's avatar Anton Dimitrov

Problem: zmq_msg_send doc incomplete return value description (issue #2488)

Solution: Add more information to the doc specifying that MAX_INT is the maximum
possible return value.
parent d4adb9a5
......@@ -57,7 +57,8 @@ when sending each message part except the final one.
RETURN VALUE
------------
The _zmq_msg_send()_ function shall return number of bytes in the message
if successful. Otherwise it shall return `-1` and set 'errno' to one of the
if successful (if number of bytes is higher than 'MAX_INT', the function will
return 'MAX_INT'). Otherwise it shall return `-1` and set 'errno' to one of the
values defined below.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment