source:
trunk/src/kash/strsignal.c@
3453
| Last change on this file since 3453 was 3411, checked in by , 5 years ago | |
|---|---|
|
|
| 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.
