source:
azure_iot_hub/trunk/musl-1.1.18/src/signal/psignal.c@
400
Last change on this file since 400 was 389, checked in by , 5 years ago | |
---|---|
|
|
File size: 211 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | #include <string.h> |
3 | #include <signal.h> |
4 | |
5 | void psignal(int sig, const char *msg) |
6 | { |
7 | char *s = strsignal(sig); |
8 | if (msg) fprintf(stderr, "%s: %s\n", msg, s); |
9 | else fprintf(stderr, "%s\n", s); |
10 | } |
Note:
See TracBrowser
for help on using the repository browser.