diff options
author | Thiago Henrique Hupner <thihup@gmail.com> | 2021-06-05 08:35:24 -0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-09 19:41:23 +0100 |
commit | 4850cf90691e0c59f0e5d8ff501fa8620f602fa4 (patch) | |
tree | 22013b70bbae7edc5d0c9ce3e3b0f6ad36e1cbcf /Userland/Libraries/LibC | |
parent | 0f5a23d0826e88c2d068f0bfe0dcb0d27d12aaac (diff) | |
download | serenity-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.cpp | 2 |
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[] = { |