zmq_msg_data(3)

zmq_msg_data3

Retrieve pointer to message content

Usage

void *zmq_msg_data (zmq_msg_t *msg);

Overview

The zmq_msg_data() function shall return a pointer to the message 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_data() shall return a pointer to the message content.

Errors

No errors are defined.

Releases

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

  1. 7–8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. 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.