Last change
on this file since 3409 was 3409, checked in by bird, 5 years ago |
kash: Generate the signal names at compile time rather than lazily at runtime. This should be more efficient, though may cause trouble if cross building.
|
-
Property svn:eol-style
set to
LF
-
Property svn:keywords
set to
Id
|
File size:
206 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * Fake strsignal (for Windows/MSC).
|
---|
3 | */
|
---|
4 |
|
---|
5 | #include "shinstance.h" /* for MSC */
|
---|
6 | #include <string.h>
|
---|
7 |
|
---|
8 | const char *strsignal(int iSig)
|
---|
9 | {
|
---|
10 | if (iSig < NSIG)
|
---|
11 | return sys_signame(iSig);
|
---|
12 | return NULL;
|
---|
13 | }
|
---|
14 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.