Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/sigpending.c
Parent Directory | Revision Log
Revision 532 -
(show annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 264 byte(s)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 264 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd
1 | /* |
2 | * sigpending.c |
3 | */ |
4 | |
5 | #include <signal.h> |
6 | #include <sys/syscall.h> |
7 | #include <klibc/sysconfig.h> |
8 | |
9 | #if _KLIBC_USE_RT_SIG |
10 | |
11 | __extern int __rt_sigpending(sigset_t *, size_t); |
12 | |
13 | int sigpending(sigset_t * set) |
14 | { |
15 | return __rt_sigpending(set, sizeof(sigset_t)); |
16 | } |
17 | |
18 | #endif |