From da5f1cc34dbdad2acc578e73e7891589b7bd5a3e Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 20 Jun 2009 13:27:43 +0000 Subject: Finish nxflat test Makefiles git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1913 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/signal.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'nuttx/include/signal.h') 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 -- cgit v1.2.3