summaryrefslogtreecommitdiff
path: root/doc/zmq_version.txt
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-03-09 18:47:31 +0100
committerMartin Lucina <mato@kotelna.sk>2010-03-09 18:47:31 +0100
commit1aee86408d575d6572b071d7564da7f006d1757e (patch)
tree98d54989b5961db8c458017034bfb8f981e98c8f /doc/zmq_version.txt
parentd790940fd06060c8a2c624b0e41e470ad31ae0d8 (diff)
Documentation rewrite
Diffstat (limited to 'doc/zmq_version.txt')
-rw-r--r--doc/zmq_version.txt23
1 files changed, 15 insertions, 8 deletions
diff --git a/doc/zmq_version.txt b/doc/zmq_version.txt
index 8c038ae..0ad3a55 100644
--- a/doc/zmq_version.txt
+++ b/doc/zmq_version.txt
@@ -4,19 +4,24 @@ zmq_version(3)
NAME
----
-zmq_version - reports 0MQ version
+zmq_version - report 0MQ library version
SYNOPSIS
--------
-'void zmq_version (int *major, int *minor, int *patch);'
+*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.
+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 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.
+
RETURN VALUE
------------
@@ -30,6 +35,7 @@ No errors are defined.
EXAMPLE
-------
+.Printing out the version of the 0MQ library
----
int major, minor, patch;
zmq_version (&major, &minor, &patch);
@@ -41,6 +47,7 @@ SEE ALSO
--------
linkzmq:zmq[7]
-AUTHOR
-------
-Martin Sustrik <sustrik at 250bpm dot com>
+AUTHORS
+-------
+The 0MQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and
+Martin Lucina <mato@kotelna.sk>.