from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209582

userrating:


May 25th. 2007:
Words

486

Views

258591

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149880

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





iv_fatal

Section: ivykis programmer's manual (3)
Updated: 201-0-18
Index Return to Main Contents
 

NAME

iv_fatal, iv_set_fatal_msg_handler - ivykis fatal error condition handling  

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 message 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)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 18.5 ms