0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 23:51:04 +08:00

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.
This commit is contained in:
Anton Dimitrov 2018-10-01 17:00:21 +03:00
parent d4adb9a549
commit 082457b6d0

View File

@ -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.