git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support to multi-threading and pthread interface (POSIX.1-2008) (#23)
[lunaix-os.git]
/
lunaix-os
/
includes
/
usr
/
lunaix
/
signal_defs.h
diff --git
a/lunaix-os/includes/usr/lunaix/signal_defs.h
b/lunaix-os/includes/usr/lunaix/signal_defs.h
index d56a44307052cb4a0b124bb4a61be256468e40d8..7c8148a20bc5ffa29a19886560e216b16fda0254 100644
(file)
--- a/
lunaix-os/includes/usr/lunaix/signal_defs.h
+++ b/
lunaix-os/includes/usr/lunaix/signal_defs.h
@@
-5,18
+5,21
@@
#define SIGCHLD 2
#define SIGCLD SIGCHLD
#define SIGCHLD 2
#define SIGCLD SIGCHLD
-#define SIGSTOP 3
-#define SIGCONT 4
+#define SIGINT 3
+#define SIGSTOP 4
+#define SIGCONT 5
-#define SIGINT 5
#define SIGSEGV 6
#define SIGKILL 7
#define SIGTERM 8
#define SIGSEGV 6
#define SIGKILL 7
#define SIGTERM 8
+#define SIGILL 9
+#define SIGSYS 10
#define SIG_BLOCK 1
#define SIG_UNBLOCK 2
#define SIG_SETMASK 3
#define SIG_BLOCK 1
#define SIG_UNBLOCK 2
#define SIG_SETMASK 3
+typedef unsigned char signum_t;
typedef unsigned int sigset_t;
typedef void (*sighandler_t)(int);
typedef unsigned int sigset_t;
typedef void (*sighandler_t)(int);