1ZMQ_MSG_MOVE(3)                   0MQ Manual                   ZMQ_MSG_MOVE(3)
2
3
4

NAME

6       zmq_msg_move - move content of a message to another message
7

SYNOPSIS

9       int zmq_msg_move (zmq_msg_t *dest, zmq_msg_t *src);
10

DESCRIPTION

12       The zmq_msg_move() function shall move the content of the message
13       object referenced by src to the message object referenced by dest. No
14       actual copying of message content is performed, dest is simply updated
15       to reference the new content. src becomes an empty message after
16       calling zmq_msg_move(). The original content of dest, if any, shall be
17       released.
18
19           Caution
20           Never access zmq_msg_t members directly, instead always use the
21           zmq_msg family of functions.
22

RETURN VALUE

24       The zmq_msg_move() function shall return zero if successful. Otherwise
25       it shall return -1 and set errno to one of the values defined below.
26

ERRORS

28       No errors are defined.
29

SEE ALSO

31       zmq_msg_copy(3) zmq_msg_init(3) zmq_msg_init_size(3)
32       zmq_msg_init_data(3) zmq_msg_close(3) zmq(7)
33

AUTHORS

35       This 0MQ manual page was written by Martin Sustrik
36       <sustrik@250bpm.com[1]> and Martin Lucina <mato@kotelna.sk[2]>.
37

NOTES

39        1. sustrik@250bpm.com
40           mailto:sustrik@250bpm.com
41
42        2. mato@kotelna.sk
43           mailto:mato@kotelna.sk
44
45
46
470MQ 2.1.4                         03/30/2011                   ZMQ_MSG_MOVE(3)
Impressum