diff options
author | Sehong Na <sehong.na@samsung.com> | 2014-05-31 13:21:44 +0900 |
---|---|---|
committer | Sehong Na <sehong.na@samsung.com> | 2014-05-31 13:21:44 +0900 |
commit | ea0d53a749fd8772ccd68ab84132b791d1754475 (patch) | |
tree | 027aef01301693ff84ecadd5200bffce32450a88 /doc/zmq_msg_move.txt | |
download | zeromq-ea0d53a749fd8772ccd68ab84132b791d1754475.tar.gz zeromq-ea0d53a749fd8772ccd68ab84132b791d1754475.tar.bz2 zeromq-ea0d53a749fd8772ccd68ab84132b791d1754475.zip |
Initialize Tizen 2.3submit/tizen_2.3/20140531.1157412.3a_releasetizen_2.3
Diffstat (limited to 'doc/zmq_msg_move.txt')
-rw-r--r-- | doc/zmq_msg_move.txt | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/zmq_msg_move.txt b/doc/zmq_msg_move.txt new file mode 100644 index 0000000..6ab6eab --- /dev/null +++ b/doc/zmq_msg_move.txt @@ -0,0 +1,52 @@ +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 0MQ manual page was written by Martin Sustrik <sustrik@250bpm.com> and +Martin Lucina <mato@kotelna.sk>. |