2
.\" Title: zmq_strerror
3
.\" Author: [see the "AUTHORS" section]
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
10
.TH "ZMQ_STRERROR" "3" "12/18/2011" "0MQ 3\&.1\&.0" "0MQ Manual"
11
.\" -----------------------------------------------------------------
12
.\" * Define some portability stuff
13
.\" -----------------------------------------------------------------
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
.\" http://bugs.debian.org/507673
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
.\" -----------------------------------------------------------------
21
.\" * set default formatting
22
.\" -----------------------------------------------------------------
23
.\" disable hyphenation
25
.\" disable justification (adjust text to left margin only)
27
.\" -----------------------------------------------------------------
28
.\" * MAIN CONTENT STARTS HERE *
29
.\" -----------------------------------------------------------------
31
zmq_strerror \- get 0MQ error message string
34
\fBconst char *zmq_strerror (int \fR\fB\fIerrnum\fR\fR\fB);\fR
37
The \fIzmq_strerror()\fR function shall return a pointer to an error message string corresponding to the error number specified by the \fIerrnum\fR argument\&. As 0MQ defines additional error numbers over and above those defined by the operating system, applications should use \fIzmq_strerror()\fR in preference to the standard \fIstrerror()\fR function\&.
40
The \fIzmq_strerror()\fR function shall return a pointer to an error message string\&.
43
No errors are defined\&.
46
\fBDisplaying an error message when a 0MQ context cannot be initialised\fR.
52
void *ctx = zmq_init (1, 1, 0);
54
printf ("Error occurred during zmq_init(): %s\en", zmq_strerror (errno));
67
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]\fBmartin@lucina\&.net\fR\m[]\&\s-2\u[2]\d\s+2>\&.
72
\%mailto:sustrik@250bpm.com
77
\%mailto:martin@lucina.net