Definition in file sigmin.c.
Go to the source code of this file.
Defines | |
#define | MAX_SIG 50 |
Functions | |
void | clean_up (void) |
size_t | strlen_safe (const char *s) |
void | handler (int signum) |
bool | handle_signals (void) |
void | process (void) |
int | main (void) |
|
Definition at line 111 of file sigmin.c. Referenced by main(). |
|
Definition at line 23 of file sigmin.c. Referenced by handler(), and sig_thread(). |
|
Definition at line 68 of file sigmin.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, handler(), sigaction::sa_handler, sigaction::sa_mask, set(), sigaction(), sigemptyset(), sigfillset(), and sigprocmask(). Referenced by process(). |
|
Definition at line 39 of file sigmin.c. References _exit(), clean_up(), strlen_safe(), and write(). Referenced by handle_signals(). |
|
Definition at line 113 of file sigmin.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, exit(), fork(), kill(), MAX_SIG, process(), set(), sigfillset(), sigprocmask(), sleep(), and waitpid(). |
|
Definition at line 100 of file sigmin.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, exit(), handle_signals(), and sleep(). Referenced by main(). |
|
Definition at line 31 of file sigmin.c. Referenced by handler(). |