Functions | Variables

ut_unixAssert.cpp File Reference

#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

Function Documentation

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 
)

Variable Documentation

volatile sig_atomic_t trap_reached = 0 [static]