zmq_version(3)

zmq_version(3)

ØMQ Manual - ØMQ/4.0.8

Name

zmq_version - report ØMQ 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 Ø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.

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 ØMQ version is %d.%d.%d\n", major, minor, patch);

See also

zmq(7)

Authors

This page was written by the ØMQ community. To make a change please read the ØMQ Contribution Policy at http://www.zeromq.org/docs:contributing.