1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef __ASM_GENERIC_SIGNAL_H
13 #define __ASM_GENERIC_SIGNAL_H
15 #include <linux/compiler.h>
28 typedef void __signalfn_t(int);
29 typedef __signalfn_t __user *__sighandler_t;
31 typedef void __restorefn_t(void);
32 typedef __restorefn_t __user *__sigrestore_t;
34 #define SIG_DFL ((__force __sighandler_t)0)
35 #define SIG_IGN ((__force __sighandler_t)1)
36 #define SIG_ERR ((__force __sighandler_t)-1)