Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/sigprocmask.c
Parent Directory | Revision Log
Revision 532 -
(show annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File MIME type: text/plain
File size: 334 byte(s)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File MIME type: text/plain
File size: 334 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 | * sigprocmask.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_sigprocmask(int, const sigset_t *, sigset_t *, size_t); |
12 | |
13 | int sigprocmask(int how, const sigset_t * set, sigset_t * oset) |
14 | { |
15 | return __rt_sigprocmask(how, set, oset, sizeof(sigset_t)); |
16 | } |
17 | |
18 | #endif |