zmq_strerror(3) debian man page | unix.com

Man Page: zmq_strerror

Operating Environment: debian

Section: 3

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_close(3) - debian
zmq_msg_init(3) - debian
zmq_msg_init_data(3) - debian
zmq_send(3) - debian
zmq_cpp(7) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
Introduction
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections
My first PERL incarnation... Audio Oscillograph