diff options
| -rw-r--r-- | src/signal/sigpending.c | 4 | ||||
| -rw-r--r-- | src/signal/sigprocmask.c | 4 | ||||
| -rw-r--r-- | src/signal/sigsuspend.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/signal/sigpending.c b/src/signal/sigpending.c index b459a114..0f26d451 100644 --- a/src/signal/sigpending.c +++ b/src/signal/sigpending.c @@ -1,10 +1,10 @@ #include "sys/types.h" #include <signal.h> +#include "_syscall.h" int sigpending(sigset_t * set) { - (void)set; - return 0; + SYSCALL(sigpending, int, -1, set, sizeof(*set), 0, 0, 0, 0); } /* POSIX(1) diff --git a/src/signal/sigprocmask.c b/src/signal/sigprocmask.c index 73017da5..2d443e7b 100644 --- a/src/signal/sigprocmask.c +++ b/src/signal/sigprocmask.c @@ -1,10 +1,10 @@ #include "sys/types.h" #include <signal.h> +#include "_syscall.h" int sigprocmask(int how, const sigset_t * restrict set, sigset_t * restrict oset) { - (void)how; (void)set; (void)oset; - return 0; + SYSCALL(sigprocmask, int, -1, how, set, oset, sizeof(*set), 0, 0); } /* POSIX(1) 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) |
