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)NAMEzmq_strerror - get 0MQ error message stringSYNOPSISconst char *zmq_strerror (int errnum);DESCRIPTIONThe 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 VALUEThe zmq_strerror() function shall return a pointer to an error message string.ERRORSNo errors are defined.EXAMPLEDisplaying 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 ALSOzmq(7)AUTHORSThis manual page was written by the 0MQ community. 0MQ 2.2.0 04/04/2012 ZMQ_STRERROR(3)