File: siglist.h

package info (click to toggle)
stopafter 1.2.5-6.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 80 kB
  • ctags: 40
  • sloc: ansic: 325; makefile: 49; sh: 4
file content (52 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
 * This struct typedef defines the signal name list array.
 */

typedef struct SIGNALLIST
{
	int number;
	char *name;
}
SignalList;

/*
 * This is the signal name list array.
 */

SignalList Signal[] =
{
	{  1,"SIGHUP" },
	{  2,"SIGINT" },
	{  3,"SIGQUIT" },
	{  4,"SIGILL" },
	{  5,"SIGTRAP" },
	{  6,"SIGIOT" },
	{  6,"SIGABRT" },
	{  7,"SIGBUS" },
	{  8,"SIGFPE" },
	{  9,"SIGKILL" },
	{ 10,"SIGUSR1" },
	{ 11,"SIGSEGV" },
	{ 12,"SIGUSR2" },
	{ 13,"SIGPIPE" },
	{ 14,"SIGALRM" },
	{ 15,"SIGTERM" },
	{ 16,"SIGSTKFLT" },
	{ 17,"SIGCHLD" },
	{ 18,"SIGCONT" },
	{ 19,"SIGSTOP" },
	{ 20,"SIGTSTP" },
	{ 21,"SIGTTIN" },
	{ 22,"SIGTTOU" },
	{ 23,"SIGURG" },
	{ 24,"SIGXCPU" },
	{ 25,"SIGXFSZ" },
	{ 26,"SIGVTALRM" },
	{ 27,"SIGPROF" },
	{ 28,"SIGWINCH" },
	{ 29,"SIGIO" },
	{ 30,"SIGPWR" },
	{ 31,"SIGUNUSED" }
};

#define KNOWN_SIGNALS (sizeof(Signal)/sizeof(SignalList))