diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-20 13:27:43 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-20 13:27:43 +0000 |
commit | da5f1cc34dbdad2acc578e73e7891589b7bd5a3e (patch) | |
tree | 4a6b6fd455f2dbaa8111e2e7e450baac8362a975 /nuttx/include/signal.h | |
parent | 33a230525902b2cc0bfd731d632e7b3ec0f1fafb (diff) | |
download | px4-nuttx-da5f1cc34dbdad2acc578e73e7891589b7bd5a3e.tar.gz px4-nuttx-da5f1cc34dbdad2acc578e73e7891589b7bd5a3e.tar.bz2 px4-nuttx-da5f1cc34dbdad2acc578e73e7891589b7bd5a3e.zip |
Finish nxflat test Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1913 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/signal.h')
-rw-r--r-- | nuttx/include/signal.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/include/signal.h b/nuttx/include/signal.h index cd548f71a..96f90be12 100644 --- a/nuttx/include/signal.h +++ b/nuttx/include/signal.h @@ -67,8 +67,12 @@ #define SIGRTMIN 0 /* First real time signal */ #define SIGRTMAX 31 /* Last real time signal */ -/* A few of the real time signals are used within the OS: */ +/* A few of the real time signals are used within the OS. The reset are all + * user signals: + */ +#define SIGUSR1 0 /* User signal 1 */ +#define SIGUSR2 1 /* User signal 2 */ #define SIGALRM 2 /* Default signal used with POSIX timers (used only */ /* no other signal is provided) */ #define SIGCONDTIMEDOUT 3 /* Used in the implementation of */ @@ -104,6 +108,7 @@ /* Special values of sigaction (all treated like NULL) */ +#define SIG_ERR ((CODE void*)-1) #define SIG_DFL ((CODE void*)0) #define SIG_IGN ((CODE void*)0) @@ -158,6 +163,7 @@ struct sigaction sigset_t sa_mask; int sa_flags; }; + #define sa_handler sa_u._sa_handler #define sa_sigaction sa_u._sa_sigaction |