zmq_msg_set.txt 934 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. zmq_msg_set(3)
  2. ==============
  3. NAME
  4. ----
  5. zmq_msg_set - set message property
  6. SYNOPSIS
  7. --------
  8. *int zmq_msg_set (zmq_msg_t '*message', int 'property', int 'value');*
  9. DESCRIPTION
  10. -----------
  11. The _zmq_msg_set()_ function shall set the property specified by the
  12. 'property' argument to the value of the 'value' argument for the 0MQ
  13. message fragment pointed to by the 'message' argument.
  14. Currently the _zmq_msg_set()_ function does not support any property names.
  15. RETURN VALUE
  16. ------------
  17. The _zmq_msg_set()_ function shall return zero if successful. Otherwise it
  18. shall return `-1` and set 'errno' to one of the values defined below.
  19. ERRORS
  20. ------
  21. *EINVAL*::
  22. The requested property _property_ is unknown.
  23. SEE ALSO
  24. --------
  25. linkzmq:zmq_msg_get[3]
  26. linkzmq:zmq[7]
  27. AUTHORS
  28. -------
  29. This page was written by the 0MQ community. To make a change please
  30. read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>.