etc/services - sync with NetBSD-8
[minix.git] / minix / lib / libc / sys / sigsuspend.c
blob34a969521087bdf7164a3bab6bf18fd562031634
1 #include <sys/cdefs.h>
2 #include <lib.h>
3 #include "namespace.h"
5 #include <string.h>
6 #include <signal.h>
8 int sigsuspend(set)
9 const sigset_t *set;
11 message m;
13 memset(&m, 0, sizeof(m));
14 m.m_lc_pm_sigset.set = *set;
15 return(_syscall(PM_PROC_NR, PM_SIGSUSPEND, &m));
18 #if defined(__minix) && defined(__weak_alias)
19 __weak_alias(sigsuspend, __sigsuspend14)
20 #endif