. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / posix / _sigpending.c
blobe214058e2fa6c5625ffd34e0f7304fa968f02160
1 #include <lib.h>
2 #define sigpending _sigpending
3 #include <signal.h>
5 PUBLIC int sigpending(set)
6 sigset_t *set;
8 message m;
10 if (_syscall(MM, SIGPENDING, &m) < 0) return(-1);
11 *set = (sigset_t) m.m2_l1;
12 return(m.m_type);