version 1.5, 2007/12/31 18:40:25
|
version 1.7, 2009/10/10 09:51:29
|
Line 1
|
Line 1
|
/* a strsignal implementation |
/* a strsignal implementation |
|
|
Copyright (C) 1995,2000,2003 Free Software Foundation, Inc. |
Copyright (C) 1995,2000,2003,2007 Free Software Foundation, Inc. |
|
|
This file is part of Gforth. |
This file is part of Gforth. |
|
|
Line 29 char *strsignal(int sig)
|
Line 29 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(SYS_SIGLIST_DECLARED) |
#if !defined(HAVE_DECL_SYS_SIGLIST) |
extern const char * const sys_siglist[]; |
extern const char * const sys_siglist[]; |
#endif |
#endif |
if (sig>0 && sig<NSIG) |
if (sig>0 && sig<NSIG) |