aboutsummaryrefslogtreecommitdiff
path: root/tinycc/win32/include/signal.h
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-07-12 21:05:57 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-07-12 21:05:57 -0300
commit111c133b939c15c57c90cd474d55e84928c6307a (patch)
tree3e6ed21eaaf21a8f8f4c5c9933972ea476d37b8e /tinycc/win32/include/signal.h
parentfa2bdd711212ba6b7a94a20971e8bfa281e73296 (diff)
Officially past the point of no return. C scripting works!
Diffstat (limited to 'tinycc/win32/include/signal.h')
-rw-r--r--tinycc/win32/include/signal.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/tinycc/win32/include/signal.h b/tinycc/win32/include/signal.h
deleted file mode 100644
index a518f6b..0000000
--- a/tinycc/win32/include/signal.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * This file has no copyright assigned and is placed in the Public Domain.
- * This file is part of the w64 mingw-runtime package.
- * No warranty is given; refer to the file DISCLAIMER within this package.
- */
-#ifndef _INC_SIGNAL
-#define _INC_SIGNAL
-
-#include <_mingw.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef _SIG_ATOMIC_T_DEFINED
-#define _SIG_ATOMIC_T_DEFINED
- typedef int sig_atomic_t;
-#endif
-
-#define NSIG 23
-
-#define SIGHUP 1 /* hangup */
-#define SIGINT 2
-#define SIGQUIT 3 /* quit */
-#define SIGILL 4
-#define SIGTRAP 5 /* trace trap (not reset when caught) */
-#define SIGIOT 6 /* IOT instruction */
-#define SIGABRT 6 /* used by abort, replace SIGIOT in the future */
-#define SIGEMT 7 /* EMT instruction */
-#define SIGFPE 8
-#define SIGKILL 9 /* kill (cannot be caught or ignored) */
-#define SIGBUS 10 /* bus error */
-#define SIGSEGV 11
-#define SIGSYS 12 /* bad argument to system call */
-#define SIGPIPE 13 /* write on a pipe with no one to read it */
-#ifdef __USE_MINGW_ALARM
-#define SIGALRM 14 /* alarm clock */
-#endif
-#define SIGTERM 15
-#define SIGBREAK 21
-#define SIGABRT2 22
-
-#define SIGABRT_COMPAT 6
-
- typedef void (*__p_sig_fn_t)(int);
-
-#define SIG_DFL (__p_sig_fn_t)0
-#define SIG_IGN (__p_sig_fn_t)1
-#define SIG_GET (__p_sig_fn_t)2
-#define SIG_SGE (__p_sig_fn_t)3
-#define SIG_ACK (__p_sig_fn_t)4
-#define SIG_ERR (__p_sig_fn_t)-1
-
- extern void **__cdecl __pxcptinfoptrs(void);
-#define _pxcptinfoptrs (*__pxcptinfoptrs())
-
- __p_sig_fn_t __cdecl signal(int _SigNum,__p_sig_fn_t _Func);
- int __cdecl raise(int _SigNum);
-
-#ifdef __cplusplus
-}
-#endif
-#endif