source: trunk/minix/lib/posix/_sigpending.c@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 230 bytes
Line 
1#include <lib.h>
2#define sigpending _sigpending
3#include <signal.h>
4
5PUBLIC int sigpending(set)
6sigset_t *set;
7{
8 message m;
9
10 if (_syscall(MM, SIGPENDING, &m) < 0) return(-1);
11 *set = (sigset_t) m.m2_l1;
12 return(m.m_type);
13}
Note: See TracBrowser for help on using the repository browser.