\doxysection{src/core/panic.c File Reference}
\label{panic_8c}\index{src/core/panic.c@{src/core/panic.c}}


Routines for panic handling.  


{\ttfamily \#include $<$unistd.\+h$>$}\newline
{\ttfamily \#include \char`\"{}config.\+h\char`\"{}}\newline
{\ttfamily \#include $<$osmocom/core/panic.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/backtrace.\+h$>$}\newline
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static void \textbf{ osmo\+\_\+panic\+\_\+default} (const char $\ast$fmt, va\+\_\+list args)
\item 
void \textbf{ osmo\+\_\+panic} (const char $\ast$fmt,...)
\begin{DoxyCompactList}\small\item\em Terminate the current program with a panic. \end{DoxyCompactList}\item 
void \textbf{ osmo\+\_\+set\+\_\+panic\+\_\+handler} (\textbf{ osmo\+\_\+panic\+\_\+handler\+\_\+t} \textbf{ h})
\begin{DoxyCompactList}\small\item\em Set the panic handler. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static \textbf{ osmo\+\_\+panic\+\_\+handler\+\_\+t} \textbf{ osmo\+\_\+panic\+\_\+handler} = (void$\ast$)0
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Routines for panic handling. 

