debian man page for zmq_strerror

Query: zmq_strerror

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ZMQ_STRERROR(3) 						    0MQ Manual							   ZMQ_STRERROR(3)

NAME
zmq_strerror - get 0MQ error message string
SYNOPSIS
const char *zmq_strerror (int errnum);
DESCRIPTION
The zmq_strerror() function shall return a pointer to an error message string corresponding to the error number specified by the errnum argument. As 0MQ defines additional error numbers over and above those defined by the operating system, applications should use zmq_strerror() in preference to the standard strerror() function.
RETURN VALUE
The zmq_strerror() function shall return a pointer to an error message string.
ERRORS
No errors are defined.
EXAMPLE
Displaying an error message when a 0MQ context cannot be initialised. void *ctx = zmq_init (1, 1, 0); if (!ctx) { printf ("Error occurred during zmq_init(): %s ", zmq_strerror (errno)); abort (); }
SEE ALSO
zmq(7)
AUTHORS
This manual page was written by the 0MQ community. 0MQ 2.2.0 04/04/2012 ZMQ_STRERROR(3)
Related Man Pages
zmq_msg_copy(3) - debian
zmq_recv(3) - debian
zmq_cpp(7) - debian
zmq_inproc(7) - debian
zmq(7) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Introduction
Detecting unused variables...
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections