source:
trunk/minix/lib/posix/_sigpending.c@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
File size: 230 bytes |
Line | |
---|---|
1 | #include <lib.h> |
2 | #define sigpending _sigpending |
3 | #include <signal.h> |
4 | |
5 | PUBLIC int sigpending(set) |
6 | sigset_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.