iv_fatal man page on DragonFly

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

iv_fatal(3)		  ivykis programmer's manual		   iv_fatal(3)

NAME
       iv_fatal,  iv_set_fatal_msg_handler - ivykis fatal error condition han‐
       dling

SYNOPSIS
       #include <iv.h>

       void iv_fatal(const char *fmt, ...);
       void iv_set_fatal_msg_handler(void (*handler)(const char *msg));

DESCRIPTION
       iv_fatal aborts the running program, after possibly emitting  an	 error
       message. The fmt parameter is a printf(3)-style format string, the mes‐
       sage to be logged.

       If no handler is set (the default), the formatted message will be  sent
       to  syslog,  with  critical  severity.  Otherwise the handler as set by
       iv_set_fatal_msg_handler will be used instead.

       iv_fatal is also used internally by ivykis, whenever a fatal  situation
       is detected.

       iv_set_fatal_msg_handler	 can be used to set an alternative (as opposed
       to syslog) function to call from iv_fatal, and its argument should be a
       function	 that does not return, and takes a single string as argument -
       the formatted error message.

SEE ALSO
       ivykis(3), iv_examples(3)

ivykis				  2012-06-18			   iv_fatal(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