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.
This commit is contained in:
Thiago Henrique Hupner 2021-06-05 08:35:24 -03:00 committed by Linus Groh
commit 4850cf9069
Notes: sideshowbarker 2024-07-18 12:31:41 +09:00

View file

@ -165,7 +165,7 @@ void siglongjmp(jmp_buf env, int val)
int sigsuspend(const sigset_t*) int sigsuspend(const sigset_t*)
{ {
dbgln("FIXME: Implement sigsuspend()"); dbgln("FIXME: Implement sigsuspend()");
TODO(); return -1;
} }
static const char* signal_names[] = { static const char* signal_names[] = {