minix/lib/nbsd_libc/sys-minix/sigsuspend.c

15 lines
217 B
C
Raw Normal View History

#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));
}