| 35 |
// Global declaration for system |
// Global declaration for system |
| 36 |
volatile int SYS_server_exit = 0; |
volatile int SYS_server_exit = 0; |
| 37 |
volatile int SYS_child_process_count = 0; |
volatile int SYS_child_process_count = 0; |
| 38 |
volatile int SYS_child_exit_count = 0; |
volatile int SYS_child_exit = 0; |
| 39 |
volatile int SYS_menu_reload = 0; |
volatile int SYS_menu_reload = 0; |
| 40 |
|
|
| 41 |
// Common function |
// Common function |
| 103 |
|
|
| 104 |
void sig_chld_handler(int i) |
void sig_chld_handler(int i) |
| 105 |
{ |
{ |
| 106 |
SYS_child_exit_count++; |
SYS_child_exit = 1; |
| 107 |
} |
} |
| 108 |
|
|
| 109 |
const char * ip_mask(char * s, int level, char mask) |
const char * ip_mask(char * s, int level, char mask) |