libzmq/doc/zmq_msg_size.adoc

42 lines
997 B
Plaintext

= zmq_msg_size(3)
== NAME
zmq_msg_size - retrieve message content size in bytes
== SYNOPSIS
*size_t zmq_msg_size (zmq_msg_t '*msg');*
== DESCRIPTION
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.
== RETURN VALUE
Upon successful completion, _zmq_msg_size()_ shall return the size of the
message content in bytes.
== ERRORS
No errors are defined.
== SEE ALSO
* xref:zmq_msg_data.adoc[zmq_msg_data]
* xref:zmq_msg_init.adoc[zmq_msg_init]
* xref:zmq_msg_init_size.adoc[zmq_msg_init_size]
* xref:zmq_msg_init_buffer.adoc[zmq_msg_init_buffer]
* xref:zmq_msg_init_data.adoc[zmq_msg_init_data]
* xref:zmq_msg_close.adoc[zmq_msg_close]
* xref:zmq.adoc[zmq]
== AUTHORS
This page was written by the 0MQ community. To make a change please
read the 0MQ Contribution Policy at <https://zeromq.org/how-to-contribute/>.