int major, minor, patch; zmq_version (&major, &minor, &patch); printf ("Current 0MQ version is %d.%d.%d\n", major, minor, patch);
zmq_version - report 0MQ library version
void zmq_version (int *major, int *minor, int *patch);
The zmq_version() function shall fill in the integer variables pointed to by the major, minor and patch arguments with the major, minor and patchlevel components of the ØMQ library version.
This functionality is intended for applications or language bindings dynamically linking to the ØMQ library that wish to determine the actual version of the ØMQ library they are using.
There is no return value.
No errors are defined.
int major, minor, patch; zmq_version (&major, &minor, &patch); printf ("Current 0MQ version is %d.%d.%d\n", major, minor, patch);
The ØMQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and Martin Lucina <mato@kotelna.sk>.