BRL-CAD
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stdarg.h>
#include "bio.h"
#include "bu/debug.h"
#include "bu/file.h"
#include "bu/log.h"
#include "bu/parallel.h"
Include dependency graph for bomb.c:

Go to the source code of this file.

Functions

int bu_bomb_failsafe_init (void)
 
void bu_bomb_add_hook (bu_hook_t func, void *clientdata)
 
void bu_bomb (const char *str)
 
void bu_exit (int status, const char *fmt,...)
 

Variables

struct bu_hook_list bomb_hook_list
 

Detailed Description

Main functions for exiting/bombing.

Definition in file bomb.c.

Function Documentation

int bu_bomb_failsafe_init ( void  )

Definition at line 71 of file bomb.c.

Referenced by alloc().

Variable Documentation

struct bu_hook_list bomb_hook_list
Initial value:
= {
{
},
NULL,
((void *)0)
}
struct bu_hook_list bomb_hook_list
Definition: bomb.c:37
struct bu_list l
Definition: log.h:71
#define BU_LIST_HEAD_MAGIC
Definition: magic.h:56

list of callbacks to call during bu_bomb.

Definition at line 37 of file bomb.c.