zmq_msg_size(3)

zmq_msg_size3

Retrieve message content size in bytes

Usage

size_t zmq_msg_size (zmq_msg_t *msg);

Overview

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.

Releases

8 releases since Debian 7 (Wheezy); the text changed 7 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

Authors

This page was written by the 0MQ community. To make a change please read the 0MQ Contribution Policy at http://www.zeromq.org/docs:contributing.

From zeromq 4.3.5-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.