2012-02-15 19:28:29 -06:00
|
|
|
zmq_msg_set(3)
|
|
|
|
==============
|
2012-02-15 18:41:09 -06:00
|
|
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
|
2012-03-21 14:19:40 -05:00
|
|
|
zmq_msg_set - set message property
|
2012-02-15 18:41:09 -06:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2012-03-21 14:19:40 -05:00
|
|
|
*int zmq_msg_set (zmq_msg_t '*message', int 'property', int 'value');*
|
2012-02-15 18:41:09 -06:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2012-03-21 14:19:40 -05:00
|
|
|
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.
|
2012-02-15 18:41:09 -06:00
|
|
|
|
2012-03-21 14:19:40 -05:00
|
|
|
Currently the _zmq_msg_set()_ function does not support any property names.
|
2012-02-15 18:41:09 -06:00
|
|
|
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
2012-02-15 19:28:29 -06:00
|
|
|
The _zmq_msg_set()_ function shall return zero if successful. Otherwise it
|
2012-02-15 18:41:09 -06:00
|
|
|
shall return `-1` and set 'errno' to one of the values defined below.
|
|
|
|
|
|
|
|
|
|
|
|
ERRORS
|
|
|
|
------
|
|
|
|
*EINVAL*::
|
2012-03-21 14:19:40 -05:00
|
|
|
The requested property _property_ is unknown.
|
2012-02-15 18:41:09 -06:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2012-03-21 14:19:40 -05:00
|
|
|
linkzmq:zmq_msg_get[3]
|
2012-02-15 18:41:09 -06:00
|
|
|
linkzmq:zmq[7]
|
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
2013-04-11 18:53:02 +02:00
|
|
|
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>.
|