summaryrefslogtreecommitdiff
path: root/LibC/signal.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-05 18:16:00 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-05 18:21:42 +0100
commit82f84bab114e8fb1651041ed1ccff4c30d267f19 (patch)
tree6267310714f6b360146974c0e1cdf4b63829303c /LibC/signal.h
parente76312ab63e5a0e180a372ca36fd6590fad6f8fd (diff)
downloadserenity-82f84bab114e8fb1651041ed1ccff4c30d267f19.zip
More random compat hacking towards getting bash to build.
I'm now at the build stage where it complains about a bajillion missing symbols. This is a good place to be!
Diffstat (limited to 'LibC/signal.h')
-rw-r--r--LibC/signal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/LibC/signal.h b/LibC/signal.h
index 0e36c40f19..a9b2fd072e 100644
--- a/LibC/signal.h
+++ b/LibC/signal.h
@@ -19,6 +19,7 @@ struct sigaction {
};
int kill(pid_t, int sig);
+sighandler_t signal(int sig, sighandler_t);
#define SIG_DFL ((__sighandler_t)0)
#define SIG_ERR ((__sighandler_t)-1)
@@ -28,7 +29,6 @@ int kill(pid_t, int sig);
#define SIG_UNBLOCK 1
#define SIG_SETMASK 2
-
#define SIGHUP 1
#define SIGINT 2
#define SIGQUIT 3
@@ -44,6 +44,10 @@ int kill(pid_t, int sig);
#define SIGPIPE 13
#define SIGALRM 14
#define SIGTERM 15
+#define SIGCONT 18
+#define SIGTSTP 20
+#define SIGTTIN 21
+#define SIGTTOU 22
__END_DECLS