zmq_version.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. zmq_version(3)
  2. ==============
  3. NAME
  4. ----
  5. zmq_version - report 0MQ library version
  6. SYNOPSIS
  7. --------
  8. *void zmq_version (int '*major', int '*minor', int '*patch');*
  9. DESCRIPTION
  10. -----------
  11. The _zmq_version()_ function shall fill in the integer variables pointed to by
  12. the 'major', 'minor' and 'patch' arguments with the major, minor and patch level
  13. components of the 0MQ library version.
  14. This functionality is intended for applications or language bindings
  15. dynamically linking to the 0MQ library that wish to determine the actual
  16. version of the 0MQ library they are using.
  17. RETURN VALUE
  18. ------------
  19. There is no return value.
  20. ERRORS
  21. ------
  22. No errors are defined.
  23. EXAMPLE
  24. -------
  25. .Printing out the version of the 0MQ library
  26. ----
  27. int major, minor, patch;
  28. zmq_version (&major, &minor, &patch);
  29. printf ("Current 0MQ version is %d.%d.%d\n", major, minor, patch);
  30. ----
  31. SEE ALSO
  32. --------
  33. linkzmq:zmq[7]
  34. AUTHORS
  35. -------
  36. This page was written by the 0MQ community. To make a change please
  37. read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>.