| 21 |
#include "io.h" |
#include "io.h" |
| 22 |
#include <dlfcn.h> |
#include <dlfcn.h> |
| 23 |
#include <errno.h> |
#include <errno.h> |
| 24 |
|
#include <signal.h> |
| 25 |
#include <string.h> |
#include <string.h> |
| 26 |
#include <sys/types.h> |
#include <sys/types.h> |
| 27 |
#include <time.h> |
#include <time.h> |
| 110 |
int |
int |
| 111 |
shutdownbbs (const char *s) |
shutdownbbs (const char *s) |
| 112 |
{ |
{ |
| 113 |
if (kill (0, SIG_BBS_EXIT) < 0) |
if (kill (0, SIGTERM) < 0) |
| 114 |
log_error ("Send SIG_BBS_EXIT signal failed (%d)\n", errno); |
log_error ("Send SIGTERM signal failed (%d)\n", errno); |
| 115 |
|
|
| 116 |
return REDRAW; |
return REDRAW; |
| 117 |
} |
} |