2023-10-21 01:50:38 +02:00
|
|
|
= zmq_version(3)
|
2010-02-11 10:43:59 +01:00
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== NAME
|
2010-03-09 18:47:31 +01:00
|
|
|
zmq_version - report 0MQ library version
|
2010-02-11 10:43:59 +01:00
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== SYNOPSIS
|
2010-03-09 18:47:31 +01:00
|
|
|
*void zmq_version (int '*major', int '*minor', int '*patch');*
|
2010-02-11 10:43:59 +01:00
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== DESCRIPTION
|
2010-03-09 18:47:31 +01:00
|
|
|
The _zmq_version()_ function shall fill in the integer variables pointed to by
|
2010-12-01 10:57:37 +01:00
|
|
|
the 'major', 'minor' and 'patch' arguments with the major, minor and patch level
|
2010-03-09 18:47:31 +01:00
|
|
|
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.
|
|
|
|
|
2010-02-11 10:43:59 +01:00
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== RETURN VALUE
|
2010-02-11 10:43:59 +01:00
|
|
|
There is no return value.
|
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== ERRORS
|
2010-02-11 10:43:59 +01:00
|
|
|
No errors are defined.
|
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== EXAMPLE
|
2010-03-09 18:47:31 +01:00
|
|
|
.Printing out the version of the 0MQ library
|
2010-02-11 10:43:59 +01:00
|
|
|
----
|
|
|
|
int major, minor, patch;
|
|
|
|
zmq_version (&major, &minor, &patch);
|
|
|
|
printf ("Current 0MQ version is %d.%d.%d\n", major, minor, patch);
|
|
|
|
----
|
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== SEE ALSO
|
2023-11-03 11:36:47 +01:00
|
|
|
* xref:zmq.adoc[zmq]
|
2010-02-11 10:43:59 +01:00
|
|
|
|
2013-04-11 18:53:02 +02:00
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== AUTHORS
|
2013-04-11 18:53:02 +02:00
|
|
|
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>.
|