2011-02-17 18:11:09 +01:00
|
|
|
#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));
|
|
|
|
}
|
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
|