zmq_msg_set.txt 934 Bytes
Newer Older
1 2
zmq_msg_set(3)
==============
3 4 5 6 7


NAME
----

8
zmq_msg_set - set message property
9 10 11 12


SYNOPSIS
--------
13
*int zmq_msg_set (zmq_msg_t '*message', int 'property', int 'value');*
14 15 16 17


DESCRIPTION
-----------
18 19 20
The _zmq_msg_set()_ function shall set the property specified by the
'property' argument to the value of the 'value' argument for the 0MQ
message fragment pointed to by the 'message' argument.
21

22
Currently the _zmq_msg_set()_ function does not support any property names.
23 24 25 26


RETURN VALUE
------------
27
The _zmq_msg_set()_ function shall return zero if successful. Otherwise it
28 29 30 31 32 33
shall return `-1` and set 'errno' to one of the values defined below.


ERRORS
------
*EINVAL*::
34
The requested property _property_ is unknown.
35 36 37 38


SEE ALSO
--------
39
linkzmq:zmq_msg_get[3]
40 41 42 43 44
linkzmq:zmq[7]


AUTHORS
-------
45 46
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>.