Nilorea Library
C utilities for networking, threading, graphics
n_signals.h File Reference

Signals general handling with stack printing, from https://gist.github.com/jvranish/4441299. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_STACK_FRAMES   32
 Number of backtrace log lines. More...
 
#define SIGALTSTACK_SIZE   65536
 Size of the signal handler alternate stack. More...
 

Functions

void set_signal_handler (const char *progname)
 Install a signal handler for progname. More...
 

Detailed Description

Signals general handling with stack printing, from https://gist.github.com/jvranish/4441299.

Author
Castagnier Mickael
Version
1.0
Date
08/11/2018

Definition in file n_signals.h.