minix/lib/posix/_sigsuspend.c

13 lines
201 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <lib.h>
#define sigsuspend _sigsuspend
#include <signal.h>
PUBLIC int sigsuspend(set)
_CONST sigset_t *set;
{
message m;
m.m2_l1 = (long) *set;
return(_syscall(MM, SIGSUSPEND, &m));
}