1psignal(3C)              Standard C Library Functions              psignal(3C)
2
3
4

NAME

6       psignal, psiginfo - system signal messages
7

SYNOPSIS

9       #include <siginfo.h>
10
11       void psignal(int sig, const char *s);
12
13
14       void psiginfo(siginfo_t *pinfo, char *s);
15
16

DESCRIPTION

18       The psignal() and psiginfo() functions produce messages on the standard
19       error output describing a signal.  The sig argument is  a  signal  that
20       may  have  been  passed as the first argument to a signal handler.  The
21       pinfo argument is a pointer to a siginfo structure that may  have  been
22       passed  as  the  second  argument  to  an enhanced signal handler.  See
23       sigaction(2). The argument string s is printed  first,  followed  by  a
24       colon and a blank, followed by the message and a NEWLINE character.
25

USAGE

27       Messages printed from these functions are in the native language speci‐
28       fied by the LC_MESSAGES locale category.  See setlocale(3C).
29

ATTRIBUTES

31       See attributes(5) for descriptions of the following attributes:
32
33
34
35
36       ┌─────────────────────────────┬─────────────────────────────┐
37       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
38       ├─────────────────────────────┼─────────────────────────────┤
39       │MT-Level                     │Safe                         │
40       └─────────────────────────────┴─────────────────────────────┘
41

SEE ALSO

43       sigaction(2), gettext(3C), perror(3C), setlocale(3C), siginfo.h(3HEAD),
44       signal.h(3HEAD), attributes(5)
45
46
47
48SunOS 5.11                        31 Mar 2005                      psignal(3C)
Impressum