mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-28 16:15:23 +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:
parent
d4adb9a549
commit
082457b6d0
@ -57,7 +57,8 @@ when sending each message part except the final one.
|
|||||||
RETURN VALUE
|
RETURN VALUE
|
||||||
------------
|
------------
|
||||||
The _zmq_msg_send()_ function shall return number of bytes in the message
|
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.
|
values defined below.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user