chiark / gitweb /
[PATCH] sync up with the 0.84 version of klibc
[elogind.git] / klibc / klibc / sigaction.c
1 /*
2  * sigaction.c
3  */
4
5 #include <signal.h>
6 #include <sys/syscall.h>
7
8 #ifdef __NR_sigaction
9
10 _syscall3(int,sigaction,int,sig,const struct sigaction *,act,struct sigaction *,oact);
11
12 #else
13
14 int sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
15 {
16   return rt_sigaction(sig, act, oact, sizeof(sigset_t));
17 }
18
19 #endif