Skip to content

Commit

Permalink
Problem: zmq_msg_send doc incomplete return value description (issue z…
Browse files Browse the repository at this point in the history
…eromq#2488)

Solution: Add more information to the doc specifying that MAX_INT is the maximum
possible return value.
  • Loading branch information
antonrd authored and Gregory Lemercier committed Oct 7, 2018
1 parent d4adb9a commit 3fa7a91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/zmq_msg_send.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down

0 comments on commit 3fa7a91

Please sign in to comment.