zmq_strerror man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

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\n", 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)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net