#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <signal.h>
#include "ut_assert.h"
#include "ut_unixAssert.h"
#include "ut_types.h"
Functions | |
static void | trap_handler (int signal) |
static bool | break_into_debugger () |
int | UT_UnixAssertMsg (const char *szMsg, const char *szFile, int iLine) |
Variables | |
static volatile sig_atomic_t | trap_reached = 0 |
static bool break_into_debugger | ( | ) | [static] |
References trap_reached.
Referenced by UT_UnixAssertMsg().
static void trap_handler | ( | int | signal | ) | [static] |
References trap_reached, and UT_UNUSED.
int UT_UnixAssertMsg | ( | const char * | szMsg, | |
const char * | szFile, | |||
int | iLine | |||
) |
References break_into_debugger(), fgets(), and printf.
volatile sig_atomic_t trap_reached = 0 [static] |
Referenced by break_into_debugger(), and trap_handler().