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

NAME

6       strsignal - get name of signal
7

SYNOPSIS

9       #include <string.h>
10
11       char *strsignal(int sig);
12
13

DESCRIPTION

15       The  strsignal()  function  maps  the  signal number in sig to a string
16       describing the signal and returns a pointer to that string. It uses the
17       same set of the messages as psignal(3C). The returned string should not
18       be overwritten.
19

RETURN VALUES

21       The strsignal() function returns NULL if sig is not a valid signal num‐
22       ber.
23

USAGE

25       Messages  returned from this function are in the native language speci‐
26       fied by the LC_MESSAGES locale category. See setlocale(3C).
27

ATTRIBUTES

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

SEE ALSO

41       gettext(3C), psignal(3C), setlocale(3C), str2sig(3C), attributes(5)
42
43
44
45SunOS 5.11                        31 Mar 2005                    strsignal(3C)
Impressum