zmq_msg_size.txt 906 Bytes
Newer Older
1 2 3 4 5 6
zmq_msg_size(3)
===============


NAME
----
Martin Lucina's avatar
Martin Lucina committed
7
zmq_msg_size - retrieve message content size in bytes
8 9 10 11


SYNOPSIS
--------
12
*size_t zmq_msg_size (zmq_msg_t '*msg');*
13 14 15 16


DESCRIPTION
-----------
Martin Lucina's avatar
Martin Lucina committed
17 18 19 20 21
The _zmq_msg_size()_ function shall return the size in bytes of the content of
the message object referenced by 'msg'.

CAUTION: Never access 'zmq_msg_t' members directly, instead always use the
_zmq_msg_ family of functions.
22 23 24 25


RETURN VALUE
------------
26
Upon successful completion, _zmq_msg_size()_ shall return the size of the
Martin Lucina's avatar
Martin Lucina committed
27
message content in bytes.
28 29 30 31


ERRORS
------
32
No errors are defined.
33 34 35 36


SEE ALSO
--------
Martin Lucina's avatar
Martin Lucina committed
37
linkzmq:zmq_msg_data[3]
38 39 40 41
linkzmq:zmq_msg_init[3]
linkzmq:zmq_msg_init_size[3]
linkzmq:zmq_msg_init_data[3]
linkzmq:zmq_msg_close[3]
Martin Lucina's avatar
Martin Lucina committed
42
linkzmq:zmq[7]
43 44


45 46
AUTHORS
-------
47 48
This 0MQ manual page was written by Martin Sustrik <sustrik@250bpm.com>,
Martin Lucina <mato@kotelna.sk>, and Pieter Hintjens <ph@imatix.com>.