1PSIGNAL(3) Linux Programmer's Manual PSIGNAL(3)
2
3
4
6 psignal - print signal message
7
9 #include <signal.h>
10
11 void psignal(int sig, const char *s);
12
13 extern const char *const sys_siglist[];
14
16 The psignal() function displays a message on stderr consisting of the
17 string s, a colon, a space, and a string describing the signal number
18 sig. If sig is invalid, the message displayed will indicate an unknown
19 signal.
20
21 The array sys_siglist holds the signal description strings indexed by
22 signal number.
23
25 The psignal() function returns no value.
26
28 4.3BSD
29
31 perror(3), strsignal(3)
32
33
34
35GNU 1993-04-13 PSIGNAL(3)