1PSIGNAL(3)                 Linux Programmer's Manual                PSIGNAL(3)
2
3
4

NAME

6       psignal - print signal message
7

SYNOPSIS

9       #include <signal.h>
10
11       void psignal(int sig, const char *s);
12
13       extern const char *const sys_siglist[];
14
15   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
16
17       psignal(): _SVID_SOURCE || _BSD_SOURCE
18       sys_siglist: _BSD_SOURCE
19

DESCRIPTION

21       The  psignal()  function displays a message on stderr consisting of the
22       string s, a colon, a space, and a string describing the  signal  number
23       sig.  If sig is invalid, the message displayed will indicate an unknown
24       signal.
25
26       The array sys_siglist holds the signal description strings  indexed  by
27       signal number.
28

RETURN VALUE

30       The psignal() function returns no value.
31

CONFORMING TO

33       POSIX.1-2008, 4.3BSD.
34

SEE ALSO

36       perror(3), strsignal(3)
37

COLOPHON

39       This  page  is  part of release 3.22 of the Linux man-pages project.  A
40       description of the project, and information about reporting  bugs,  can
41       be found at http://www.kernel.org/doc/man-pages/.
42
43
44
45GNU                               2008-08-21                        PSIGNAL(3)
Impressum