umem  1.0.1
Macros | Functions
umem_fail.c File Reference
#include "config.h"
#include <sys/types.h>
#include <signal.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
#include "misc.h"

Macros

#define UMEM_EXIT_ABORT   1
 
#define SKIP_FRAMES   1 /* skip the panic frame */
 
#define ERR_STACK_FRAMES   128
 

Functions

void umem_panic (const char *format,...)
 
void umem_err_recoverable (const char *format,...)
 
int __umem_assert_failed (const char *assertion, const char *file, int line)
 

Macro Definition Documentation

◆ ERR_STACK_FRAMES

#define ERR_STACK_FRAMES   128

◆ SKIP_FRAMES

#define SKIP_FRAMES   1 /* skip the panic frame */

◆ UMEM_EXIT_ABORT

#define UMEM_EXIT_ABORT   1

Function Documentation

◆ __umem_assert_failed()

int __umem_assert_failed ( const char *  assertion,
const char *  file,
int  line 
)

References umem_panic().

◆ umem_err_recoverable()

void umem_err_recoverable ( const char *  format,
  ... 
)

◆ umem_panic()

void umem_panic ( const char *  format,
  ... 
)