summaryrefslogtreecommitdiff
path: root/doc/zmq_version.txt
blob: 8c038aed68f5740862504ec6fc1eea0f937f3353 (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
zmq_version(3)
==============


NAME
----
zmq_version - reports 0MQ version


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


DESCRIPTION
-----------
Returns current version of 0MQ. The functionality is useful for applications
linking with 0MQ dynamically to make sure the right version of 0MQ is installed
on the system.

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


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


EXAMPLE
-------
----
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]

AUTHOR
------
Martin Sustrik <sustrik at 250bpm dot com>