libosmocore 0.9.6-23.20170220git32ee5af8.fc42
Osmocom core library
Loading...
Searching...
No Matches
panic.h
Go to the documentation of this file.
1#pragma once
2
9#include <stdarg.h>
10
12typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
13
14extern void osmo_panic(const char *fmt, ...);
16
void(* osmo_panic_handler_t)(const char *fmt, va_list args)
panic handler callback function type
Definition panic.h:12
void osmo_set_panic_handler(osmo_panic_handler_t h)
Set the panic handler.
Definition panic.c:97
void osmo_panic(const char *fmt,...)
Terminate the current program with a panic.
Definition panic.c:76