]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commitdiff
Add stub for sigsuspend
authorMihai Pogonaru <pogonarumihai@gmail.com>
Sun, 6 Oct 2019 22:56:23 +0000 (01:56 +0300)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Mon, 7 Oct 2019 06:47:44 +0000 (09:47 +0300)
Signed-off-by: Mihai Pogonaru <pogonarumihai@gmail.com>
Reviewed-by: Costin Lupu <costin.lupu@cs.pub.ro>
signal.c

index 3afc168872e32a1556af4f6a51718ce26f6cbfe4..0530291e31d58db491a66b140369cdd9c1b81d6c 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -57,6 +57,11 @@ int siginterrupt(int sig __unused, int flag __unused)
        return 0;
 }
 
+int sigsuspend(const sigset_t *mask)
+{
+       return 0;
+}
+
 int kill(int pid, int sig __unused)
 {
        /* TODO check sig */