From 7a1ea510a9fc43ccbc257601b149a90920332e13 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 15 Jul 2016 22:39:04 +0200 Subject: Add Lua source, not compiled yet as libc/libm functions remain unimplemented --- src/lib/include/signal.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/lib/include/signal.h (limited to 'src/lib/include/signal.h') diff --git a/src/lib/include/signal.h b/src/lib/include/signal.h new file mode 100644 index 0000000..297db87 --- /dev/null +++ b/src/lib/include/signal.h @@ -0,0 +1,15 @@ +#pragma once + +// TODO + +typedef int sig_atomic_t; + +#define SIG_DFL 0 // stupid + +#define SIGINT 42 // stupid + +void (*signal(int sig, void (*func)(int)))(int); + + + +/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/ -- cgit v1.2.3