Man page - iv_fatal(3)
Packages contains this manual
- iv_task_register(3)
- iv_fd(3)
- iv_popen(3)
- iv_thread_set_debug_state(3)
- iv_task(3)
- iv_event_post(3)
- iv_event_raw_post(3)
- iv_fd_pump_destroy(3)
- iv_fd_set_handler_in(3)
- iv_validate_now(3)
- iv_event_unregister(3)
- iv_fd_set_handler_out(3)
- iv_wait_interest_unregister(3)
- iv_signal_register(3)
- iv_inotify_watch_register(3)
- iv_signal(3)
- iv_deinit(3)
- iv_fd_register(3)
- iv_fd_pump(3)
- iv_fd_unregister(3)
- iv_wait_interest_register_spawn(3)
- iv_timer_unregister(3)
- iv_init(3)
- iv_task_registered(3)
- iv_work(3)
- iv_fatal(3)
- iv_event_raw(3)
- iv_thread(3)
- iv_examples(3)
- iv_fd_set_handler_err(3)
- iv_inotify_unregister(3)
- iv_event_raw_register(3)
- iv_tls_user_ptr(3)
- ivykis(3)
- iv_quit(3)
- iv_timer_register(3)
- iv_inotify_watch_unregister(3)
- iv_work_pool_put(3)
- iv_fd_register_try(3)
- iv_timer(3)
- iv_invalidate_now(3)
- iv_popen_request_close(3)
- iv_signal_unregister(3)
- iv_work_pool_submit_work(3)
- iv_time(3)
- iv_task_unregister(3)
- iv_thread_create(3)
- iv_fd_pump_init(3)
- iv_fd_pump_pump(3)
- iv_set_fatal_msg_handler(3)
- iv_tls_user_register(3)
- iv_wait_interest_register(3)
- iv_timer_registered(3)
- iv_main(3)
- iv_event_register(3)
- iv_event(3)
- iv_popen_request_submit(3)
- iv_inotify_register(3)
- iv_fd_registered(3)
- iv_work_pool_create(3)
- iv_wait(3)
- iv_inited(3)
- iv_tls(3)
- iv_fd_pump_is_done(3)
- iv_inotify(3)
- iv_event_raw_unregister(3)
apt-get install libivykis-dev
Manual
iv_fatal
NAMESYNOPSIS
DESCRIPTION
SEE ALSO
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)