0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Merge pull request #3266 from antonrd/issue-2488-zmq_msg_send-doc-fix

[ISSUE 2488] Updates the zmq_msg_send doc
This commit is contained in:
Luca Boccassi 2018-10-01 15:23:05 +01:00 committed by GitHub
commit 6ee048992f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

17
RELICENSE/antonrd.md Normal file
View File

@ -0,0 +1,17 @@
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL
This is a statement by Anton Dimitrov that grants permission to
relicense its copyrights in the libzmq C++ library (ZeroMQ) under the
Mozilla Public License v2 (MPLv2) or any other Open Source Initiative
approved license chosen by the current ZeroMQ BDFL (Benevolent
Dictator for Life).
A portion of the commits made by the Github handle "antonrd", with
commit author "Anton Dimitrov <dimitrov.anton@gmail.com>", are
copyright of Anton Dimitrov. This document hereby grants the libzmq
project team to relicense libzmq, including all past, present and
future contributions of the author listed above.
Anton Dimitrov
2018/10/01

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.