Annotated edit history of
strsignal(3) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
STRSIGNAL |
|
|
2 |
!!!STRSIGNAL |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
strsignal - return string describing signal |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#define _GNU_SOURCE |
|
|
18 |
#include |
|
|
19 |
__ ''sig''__); |
|
|
20 |
extern const char * const__ ''sys_siglist''__[[]; |
|
|
21 |
__ |
|
|
22 |
!!DESCRIPTION |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
The __strsignal()__ function returns a string describing |
|
|
26 |
the signal number passed in the argument ''sig''. The |
|
|
27 |
string can only be used until the next call to |
|
|
28 |
__strsignal()__. |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The array ''sys_siglist'' holds the signal description |
|
|
32 |
strings indexed by signal number. The __strsignal()__ |
|
|
33 |
function should be used if possible instead of this |
|
|
34 |
array. |
|
|
35 |
!!RETURN VALUE |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
The __strsignal()__ function returns the appropriate |
|
|
39 |
description string, or an unknown signal message if the |
|
|
40 |
signal number is invalid. On some systems (but not on |
|
|
41 |
Linux), a __NULL__ pointer may be returned instead for an |
|
|
42 |
invalid signal number. |
|
|
43 |
!!CONFORMING TO |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
This function is not part of any standard, but may be found |
|
|
47 |
on Linux systems and some UNIX systems (such as |
|
|
48 |
Solaris). |
|
|
49 |
!!SEE ALSO |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
psignal(3), strerror(3) |
|
|
53 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.