From 432fbd796bb4905fb19ceee802009b17e88e9256 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 11 Feb 2010 10:43:59 +0100 Subject: ZMQII-72: Add zmq_version function (documentation) --- doc/zmq_version.txt | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 doc/zmq_version.txt (limited to 'doc/zmq_version.txt') diff --git a/doc/zmq_version.txt b/doc/zmq_version.txt new file mode 100644 index 0000000..8c038ae --- /dev/null +++ b/doc/zmq_version.txt @@ -0,0 +1,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 -- cgit v1.2.3