1 |
#include <stdio.h> |
#include <stdio.h> |
|
#include <stdlib.h> |
|
|
#include <unistd.h> |
|
|
#include <errno.h> |
|
2 |
#include <string.h> |
#include <string.h> |
3 |
#include <stdarg.h> |
#include <errno.h> |
|
#include <signal.h> |
|
4 |
#include <limits.h> |
#include <limits.h> |
5 |
|
#include <signal.h> |
6 |
#include <sys/types.h> |
#include <sys/types.h> |
7 |
#include <sys/stat.h> |
#include <sys/stat.h> |
8 |
#include <fcntl.h> |
#include <fcntl.h> |
20 |
static FILE *logfp = NULL; /* Pointer to logfile. */ |
static FILE *logfp = NULL; /* Pointer to logfile. */ |
21 |
|
|
22 |
|
|
23 |
|
void signal_handler(int sig); |
24 |
|
char *get_time(void); |
25 |
|
|
26 |
|
|
27 |
/* |
/* |
28 |
* Print message if not in OPTION_DETAILS_QUIET mode. |
* Print message if not in OPTION_DETAILS_QUIET mode. |
29 |
*/ |
*/ |