summaryrefslogtreecommitdiff
path: root/doc/zmq_msg_init.txt
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-05-07 21:53:55 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-05-07 21:53:55 +0200
commit4d33c43913dd640853cec75ce21080c2b33d8526 (patch)
treea0a243147330d9d57a2db5da23f0d04b427c96fc /doc/zmq_msg_init.txt
parent4a3b857c4cf35261751d562ad7e4acc5ecf58be0 (diff)
caution about zmq_msg_init_* functions added to the docs
Diffstat (limited to 'doc/zmq_msg_init.txt')
-rw-r--r--doc/zmq_msg_init.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/zmq_msg_init.txt b/doc/zmq_msg_init.txt
index 5f3e54d..d31dbae 100644
--- a/doc/zmq_msg_init.txt
+++ b/doc/zmq_msg_init.txt
@@ -21,6 +21,10 @@ before receiving a message with _zmq_recv()_.
CAUTION: Never access 'zmq_msg_t' members directly, instead always use the
_zmq_msg_ family of functions.
+CAUTION: The functions _zmq_msg_init()_, _zmq_msg_init_data()_ and
+_zmq_msg_init_size()_ are mutually exclusive. Never initialize the same
+'zmq_msg_t' twice.
+
RETURN VALUE
------------