X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/642855f81fd03b9fd6540ac99c665b57b4b38cc8..f13e160f6aa2f74895ecf1f65099265643836210:/lunaix-os/includes/usr/signal_defs.h?ds=sidebyside diff --git a/lunaix-os/includes/usr/signal_defs.h b/lunaix-os/includes/usr/signal_defs.h new file mode 100644 index 0000000..ac102ab --- /dev/null +++ b/lunaix-os/includes/usr/signal_defs.h @@ -0,0 +1,21 @@ +#ifndef __LUNAIX_SYS_SIGNAL_DEFS_H +#define __LUNAIX_SYS_SIGNAL_DEFS_H + +#define SIGSEGV 1 +#define SIGALRM 2 +#define SIGCHLD 3 +#define SIGCLD SIGCHLD +#define SIGINT 4 +#define SIGKILL 5 +#define SIGSTOP 6 +#define SIGCONT 7 +#define SIGTERM 8 + +#define SIG_BLOCK 1 +#define SIG_UNBLOCK 2 +#define SIG_SETMASK 3 + +typedef unsigned int sigset_t; +typedef void (*sighandler_t)(int); + +#endif /* __LUNAIX_SIGNAL_DEFS_H */