summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorThiago Henrique Hupner <thihup@gmail.com>2021-06-05 08:35:24 -0300
committerLinus Groh <mail@linusgroh.de>2021-06-09 19:41:23 +0100
commit4850cf90691e0c59f0e5d8ff501fa8620f602fa4 (patch)
tree22013b70bbae7edc5d0c9ce3e3b0f6ad36e1cbcf /Userland/Libraries/LibC
parent0f5a23d0826e88c2d068f0bfe0dcb0d27d12aaac (diff)
downloadserenity-4850cf90691e0c59f0e5d8ff501fa8620f602fa4.zip
LibC: Add stub implementation for sigsuspend
Currently, ZSH tries to call this function and it always asserts, so adding a stub to allow ZSH at least open.
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/signal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/signal.cpp b/Userland/Libraries/LibC/signal.cpp
index a6931dbcbd..6bb81d6597 100644
--- a/Userland/Libraries/LibC/signal.cpp
+++ b/Userland/Libraries/LibC/signal.cpp
@@ -165,7 +165,7 @@ void siglongjmp(jmp_buf env, int val)
int sigsuspend(const sigset_t*)
{
dbgln("FIXME: Implement sigsuspend()");
- TODO();
+ return -1;
}
static const char* signal_names[] = {