Blame arch/nt64/bits/signal.h

87820a
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
87820a
 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
87820a
cfe6f1
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
cfe6f1
#define MINSIGSTKSZ 2048
cfe6f1
#define SIGSTKSZ 8192
cfe6f1
#endif
cfe6f1
87820a
typedef struct {
87820a
	unsigned long __space[32];
87820a
} mcontext_t;
87820a
87820a
struct sigaltstack {
0c7e93
	void *	ss_sp;
0c7e93
	int	ss_flags;
0c7e93
	size_t	ss_size;
87820a
};
87820a
87820a
typedef struct __ucontext {
afc9a8
	unsigned int		uc_csize;
afc9a8
	unsigned int		uc_msize;
afc9a8
	unsigned int		uc_pad[2];
afc9a8
	unsigned long		uc_flags;
afc9a8
	unsigned long		uc_opaquef[3];
afc9a8
	unsigned int		uc_opaquec[8];
afc9a8
	unsigned long		uc_reserved[32];
afc9a8
	unsigned long		uc_align[2];
afc9a8
	stack_t			uc_stack;
afc9a8
	struct __ucontext *	uc_link;
afc9a8
	sigset_t		uc_sigmask;
afc9a8
	mcontext_t		uc_mcontext;
87820a
} ucontext_t;
87820a
87820a
#define SA_NOCLDSTOP  1
87820a
#define SA_NOCLDWAIT  2
87820a
#define SA_SIGINFO    4
87820a
#define SA_ONSTACK    0x08000000
87820a
#define SA_RESTART    0x10000000
87820a
#define SA_NODEFER    0x40000000
87820a
#define SA_RESETHAND  0x80000000
87820a
#define SA_RESTORER   0x04000000
87820a
87820a
#endif
87820a
87820a
#define SIGHUP    1
87820a
#define SIGINT    2
87820a
#define SIGQUIT   3
87820a
#define SIGILL    4
87820a
#define SIGTRAP   5
87820a
#define SIGABRT   6
87820a
#define SIGIOT    SIGABRT
87820a
#define SIGBUS    7
87820a
#define SIGFPE    8
87820a
#define SIGKILL   9
87820a
#define SIGUSR1   10
87820a
#define SIGSEGV   11
87820a
#define SIGUSR2   12
87820a
#define SIGPIPE   13
87820a
#define SIGALRM   14
87820a
#define SIGTERM   15
87820a
#define SIGSTKFLT 16
87820a
#define SIGCHLD   17
87820a
#define SIGCONT   18
87820a
#define SIGSTOP   19
87820a
#define SIGTSTP   20
87820a
#define SIGTTIN   21
87820a
#define SIGTTOU   22
87820a
#define SIGURG    23
87820a
#define SIGXCPU   24
87820a
#define SIGXFSZ   25
87820a
#define SIGVTALRM 26
87820a
#define SIGPROF   27
87820a
#define SIGWINCH  28
87820a
#define SIGIO     29
87820a
#define SIGPOLL   29
87820a
#define SIGPWR    30
87820a
#define SIGSYS    31
87820a
#define SIGUNUSED SIGSYS
87820a
87820a
#define _NSIG 65
87820a