minix/lib/libc/sys-minix/sigsuspend.c
2013-01-08 15:47:37 +00:00

18 lines
281 B
C

#include <sys/cdefs.h>
#include <lib.h>
#include "namespace.h"
#include <signal.h>
int sigsuspend(set)
const sigset_t *set;
{
message m;
m.m2_l1 = (long) *set;
return(_syscall(PM_PROC_NR, SIGSUSPEND, &m));
}
#ifdef __minix
__weak_alias(sigsuspend, __sigsuspend14)
#endif