zmq_version.txt 1.05 KB
Newer Older
1 2 3 4 5 6
zmq_version(3)
==============


NAME
----
Martin Lucina's avatar
Martin Lucina committed
7
zmq_version - report 0MQ library version
8 9 10 11


SYNOPSIS
--------
Martin Lucina's avatar
Martin Lucina committed
12
*void zmq_version (int '*major', int '*minor', int '*patch');*
13 14 15 16


DESCRIPTION
-----------
Martin Lucina's avatar
Martin Lucina committed
17
The _zmq_version()_ function shall fill in the integer variables pointed to by
18
the 'major', 'minor' and 'patch' arguments with the major, minor and patch level
Martin Lucina's avatar
Martin Lucina committed
19 20 21 22 23 24
components of the 0MQ library version.

This functionality is intended for applications or language bindings
dynamically linking to the 0MQ library that wish to determine the actual
version of the 0MQ library they are using.

25 26 27 28 29 30 31 32 33 34 35 36 37

RETURN VALUE
------------
There is no return value.


ERRORS
------
No errors are defined.


EXAMPLE
-------
Martin Lucina's avatar
Martin Lucina committed
38
.Printing out the version of the 0MQ library
39 40 41 42 43 44 45 46 47 48 49
----
int major, minor, patch;
zmq_version (&major, &minor, &patch);
printf ("Current 0MQ version is %d.%d.%d\n", major, minor, patch);
----


SEE ALSO
--------
linkzmq:zmq[7]

50

51 52
AUTHORS
-------
53 54
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>.