aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/include/sparc/solaris/signal.h
blob: c208a6bcd267e9de637bb6053f401dbbbcc32834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __SIGNAL
#define __SIGNAL

typedef int sig_atomic_t;

#define SIG_DFL ((void (*)(int))0)
#define SIG_ERR ((void (*)(int))-1)
#define SIG_IGN ((void (*)(int))1)

#define SIGABRT	6
#define SIGFPE	8
#define SIGILL	4
#define SIGINT	2
#define SIGSEGV	11
#define SIGTERM	15

void (*signal(int, void (*)(int)))(int);
int raise(int);

#endif /* __SIGNAL */