summaryrefslogtreecommitdiff
path: root/src/signal/sigsuspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigsuspend.c')
-rw-r--r--src/signal/sigsuspend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signal/sigsuspend.c b/src/signal/sigsuspend.c
index 0325cc6a..e42e0e4b 100644
--- a/src/signal/sigsuspend.c
+++ b/src/signal/sigsuspend.c
@@ -1,10 +1,10 @@
#include "sys/types.h"
#include <signal.h>
+#include "_syscall.h"
int sigsuspend(const sigset_t * sigmask)
{
- (void)sigmask;
- return 0;
+ SYSCALL(sigsuspend, int, -1, sigmask, sizeof(*sigmask), 0, 0, 0, 0);
}
/*
POSIX(1)