![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#include <stdio.h>#include <stdlib.h>#include <stdbool.h>#include <stdint.h>#include <string.h>#include <errno.h>#include <signal.h>#include <assert.h>#include "nilorea/n_signals.h"#include "nilorea/n_log.h"#include <libgen.h>
Include dependency graph for ex_signals.c:Go to the source code of this file.
Functions | |
| void | cause_calamity (void) |
| void | cause_segfault (void) |
| int | divide_by_zero (void) |
| void | illegal_instruction (void) |
| void | infinite_loop (void) |
| int | main (int argc, char *argv[]) |
| int | stack_overflow (void) |
Variables | |
| char * | progname = NULL |
| void cause_calamity | ( | void | ) |
Definition at line 69 of file ex_signals.c.
References cause_segfault(), divide_by_zero(), illegal_instruction(), infinite_loop(), and stack_overflow().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void cause_segfault | ( | void | ) |
Definition at line 86 of file ex_signals.c.
Referenced by cause_calamity().
Here is the caller graph for this function:| int divide_by_zero | ( | void | ) |
Definition at line 80 of file ex_signals.c.
Referenced by cause_calamity().
Here is the caller graph for this function:| void illegal_instruction | ( | void | ) |
Definition at line 116 of file ex_signals.c.
Referenced by cause_calamity().
Here is the caller graph for this function:| void infinite_loop | ( | void | ) |
Definition at line 105 of file ex_signals.c.
Referenced by cause_calamity().
Here is the caller graph for this function:| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 51 of file ex_signals.c.
References cause_calamity(), LOG_DEBUG, LOG_STDERR, n_log, progname, set_log_level(), and set_signal_handler().
Here is the call graph for this function:| int stack_overflow | ( | void | ) |
Definition at line 96 of file ex_signals.c.
References stack_overflow().
Referenced by cause_calamity(), and stack_overflow().
Here is the call graph for this function:
Here is the caller graph for this function:| char* progname = NULL |
Definition at line 49 of file ex_signals.c.
Referenced by main(), and set_signal_handler().