source:
trunk/src/kash/strsignal.c
Last change on this file was 3411, checked in by , 5 years ago | |
---|---|
|
|
File size: 206 bytes |
Rev | Line | |
---|---|---|
[630] | 1 | /* |
[3409] | 2 | * Fake strsignal (for Windows/MSC). |
[630] | 3 | */ |
4 | ||
[1213] | 5 | #include "shinstance.h" /* for MSC */ |
[630] | 6 | #include <string.h> |
7 | ||
[3408] | 8 | const char *strsignal(int iSig) |
9 | { | |
10 | if (iSig < NSIG) | |
[3411] | 11 | return sys_signame[iSig]; |
[3408] | 12 | return NULL; |
13 | } | |
14 |
Note:
See TracBrowser
for help on using the repository browser.