Sha256: d81cb2eaf8855ba0930c4ba3f616c7a45d5f380bb30a1d55e1fa9ca8a565a84d

Contents?: true

Size: 1.2 KB

Versions: 10

Compression:

Stored size: 1.2 KB

Contents

zmq_msg_move(3)
===============


NAME
----
zmq_msg_move - move content of a message to another message


SYNOPSIS
--------
*int zmq_msg_move (zmq_msg_t '*dest', zmq_msg_t '*src');*


DESCRIPTION
-----------
The _zmq_msg_move()_ function shall move the content of the message object
referenced by 'src' to the message object referenced by 'dest'. No actual
copying of message content is performed, 'dest' is simply updated to reference
the new content. 'src' becomes an empty message after calling _zmq_msg_move()_.
The original content of 'dest', if any, shall be released.

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


RETURN VALUE
------------
The _zmq_msg_move()_ function shall return zero if successful. Otherwise it
shall return `-1` and set 'errno' to one of the values defined below.


ERRORS
------
*EFAULT*::
Invalid message.


SEE ALSO
--------
linkzmq:zmq_msg_copy[3]
linkzmq:zmq_msg_init[3]
linkzmq:zmq_msg_init_size[3]
linkzmq:zmq_msg_init_data[3]
linkzmq:zmq_msg_close[3]
linkzmq:zmq[7]


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>.

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
laag-libzmq-4.2.3.2 vendor/github.com/zeromq/libzmq/doc/zmq_msg_move.txt
laag-libzmq-4.2.3.0 vendor/github.com/zeromq/libzmq/doc/zmq_msg_move.txt
rbczmq-1.7.9 ext/zeromq/doc/zmq_msg_move.txt
rbczmq-1.7.8 ext/zeromq/doc/zmq_msg_move.txt
rbczmq-1.7.7 ext/zeromq/doc/zmq_msg_move.txt
rbczmq-1.7.6 ext/zeromq/doc/zmq_msg_move.txt
rbczmq-1.7.5 ext/zeromq/doc/zmq_msg_move.txt
rbczmq-1.7.4 ext/zeromq/doc/zmq_msg_move.txt
rbczmq-1.7.3 ext/zeromq/doc/zmq_msg_move.txt
rbczmq-1.7.2 ext/zeromq/doc/zmq_msg_move.txt