| #include "config.h" |
#include "config.h" |
| #include <stdio.h> |
#include <stdio.h> |
| #include <signal.h> |
#include <signal.h> |
| |
#include <unistd.h> |
| |
|
| |
|
| char *strsignal(int sig) |
char *strsignal(int sig) |
| static char errbuf[16]; |
static char errbuf[16]; |
| |
|
| #if defined(HAVE_SYS_SIGLIST) && defined(NSIG) |
#if defined(HAVE_SYS_SIGLIST) && defined(NSIG) |
| #if defined(DECLARE_SYS_SIGLIST) |
#if !defined(SYS_SIGLIST_DECLARED) |
| extern const char * const sys_siglist[]; |
extern const char * const sys_siglist[]; |
| #endif |
#endif |
| if (sig>0 && sig<NSIG) |
if (sig>0 && sig<NSIG) |