summaryrefslogtreecommitdiff
path: root/doc/zmq_version.txt
blob: eeb0b40b4cd5dbfb5d5c43ac9f9055e686c7842d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
zmq_version(3)
==============


NAME
----
zmq_version - report 0MQ library version


SYNOPSIS
--------
*void zmq_version (int '*major', int '*minor', int '*patch');*


DESCRIPTION
-----------
The _zmq_version()_ function shall fill in the integer variables pointed to by
the 'major', 'minor' and 'patch' arguments with the major, minor and patch level
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.


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


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


EXAMPLE
-------
.Printing out the version of the 0MQ library
----
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]

AUTHORS
-------
This 0MQ manual page was written by Martin Sustrik <sustrik@250bpm.com> and
Martin Lucina <mato@kotelna.sk>.