3
.\" Author: [see the "AUTHORS" section]
4
.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
10
.TH "ZMQ_VERSION" "3" "03/16/2010" "0MQ 2\&.0\&.6" "0MQ Manual"
11
.\" -----------------------------------------------------------------
12
.\" * set default formatting
13
.\" -----------------------------------------------------------------
14
.\" disable hyphenation
16
.\" disable justification (adjust text to left margin only)
18
.\" -----------------------------------------------------------------
19
.\" * MAIN CONTENT STARTS HERE *
20
.\" -----------------------------------------------------------------
22
zmq_version \- report 0MQ library version
25
\fBvoid zmq_version (int \fR\fB\fI*major\fR\fR\fB, int \fR\fB\fI*minor\fR\fR\fB, int \fR\fB\fI*patch\fR\fR\fB);\fR
28
The \fIzmq_version()\fR function shall fill in the integer variables pointed to by the \fImajor\fR, \fIminor\fR and \fIpatch\fR arguments with the major, minor and patchlevel components of the 0MQ library version\&.
30
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\&.
33
There is no return value\&.
36
No errors are defined\&.
39
\fBExample\ \&1.\ \&Printing out the version of the 0MQ library\fR
45
int major, minor, patch;
46
zmq_version (&major, &minor, &patch);
47
printf ("Current 0MQ version is %d\&.%d\&.%d\en", major, minor, patch);
57
The 0MQ documentation was written by Martin Sustrik <\m[blue]\fBsustrik@250bpm\&.com\fR\m[]\&\s-2\u[1]\d\s+2> and Martin Lucina <\m[blue]\fBmato@kotelna\&.sk\fR\m[]\&\s-2\u[2]\d\s+2>\&.
62
\%mailto:sustrik@250bpm.com
67
\%mailto:mato@kotelna.sk