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

21 lines
361 B
C
Raw Normal View History

#include <sys/cdefs.h>
#include <lib.h>
#include "namespace.h"
#include <string.h>
#include <signal.h>
int sigsuspend(set)
const sigset_t *set;
{
message m;
memset(&m, 0, sizeof(m));
m.PM_SIG_SET = *set;
return(_syscall(PM_PROC_NR, PM_SIGSUSPEND, &m));
}
2013-01-07 20:10:08 +01:00
2013-01-18 00:06:11 +01:00
#if defined(__minix) && defined(__weak_alias)
2013-01-07 20:10:08 +01:00
__weak_alias(sigsuspend, __sigsuspend14)
#endif