0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00
libzmq/doc/zmq_msg_set.adoc
Francesco Montorsi 3e08ecc012
Feature: improve docs (#4620)
* Feature: improve see-also doc section
2023-11-03 10:36:47 +00:00

39 lines
899 B
Plaintext

= zmq_msg_set(3)
== NAME
zmq_msg_set - set message property
== SYNOPSIS
*int zmq_msg_set (zmq_msg_t '*message', int 'property', int 'value');*
== DESCRIPTION
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.
Currently the _zmq_msg_set()_ function does not support any property names.
== RETURN VALUE
The _zmq_msg_set()_ function shall return zero if successful. Otherwise it
shall return `-1` and set 'errno' to one of the values defined below.
== ERRORS
*EINVAL*::
The requested property _property_ is unknown.
== SEE ALSO
* xref:zmq_msg_get.adoc[zmq_msg_get]
* xref:zmq.adoc[zmq]
== 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>.