projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make socketcall types common as they are same for all architectures
[oweals/musl.git]
/
src
/
signal
/
psignal.c
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
}