#include <stdio.h>
#include <signal.h>
#include "share.h"
#include "lockfile.h"
Go to the source code of this file.
Defines | |
#define | I_AM_PARENT 0 |
#define | I_AM_CHILD 1 |
#define | I_AM_GRANDCHILD 2 |
Functions | |
void | set_signal_handlers (void) |
void | catch_signal (int sig) |
Variables | |
int | i_am |
|
Definition at line 35 of file signal.h. Referenced by catch_signal(), and main(). |
|
Definition at line 36 of file signal.h. Referenced by main(). |
|
Definition at line 34 of file signal.h. Referenced by main(). |
|
Definition at line 38 of file signal.c. References DEBUG1, DEBUG3, i_am, I_AM_CHILD, and lockfile. |
|
Definition at line 24 of file signal.c. References catch_signal(), DEBUG2, DIE, and i_am. |
|
Definition at line 37 of file signal.h. Referenced by catch_signal(), main(), and set_signal_handlers(). |