Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
n_signals.h
Go to the documentation of this file.
1
8#ifndef __N_SIGNALS__
9#define __N_SIGNALS__
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
21#define SIGALTSTACK_SIZE 65536
23#define MAX_STACK_FRAMES 32
24
25/* install the backtrace handler */
26void set_signal_handler(const char* progname);
27
32#ifdef __cplusplus
33}
34#endif
35
36#endif /* #ifndef __N_SIGNALS__ */
void set_signal_handler(const char *progname)
Install a signal handler for progname.
Definition n_signals.c:367