summaryrefslogtreecommitdiff
path: root/src/user/lib/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/signal.c')
-rw-r--r--src/user/lib/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/signal.c b/src/user/lib/signal.c
index 41340e7..3200263 100644
--- a/src/user/lib/signal.c
+++ b/src/user/lib/signal.c
@@ -86,7 +86,7 @@ int sigsuspend(const sigset_t *mask) {
int signal(int sig, void (*func)(int)) {
(void)sig; (void)func;
- __libc_panic("unimplemented");
+ return errno = ENOSYS, SIG_ERR;
}
int kill(pid_t pid, int sig) {