1RT_SIGACTION(2) Linux Programmer's Guide RT_SIGACTION(2)
2
3
4
6 rt_sigaction - Alter an action taken by a process
7
9 long sys_rt_sigaction (int sig, const struct sigaction *act,
10 struct sigaction *oact, size_t sigsetsize);
11
12
14 rt_sigaction alters an action taken by a process on receipt of a par‐
15 ticular signal. The action is specified by the sigaction structure. The
16 previous action on the signal is saved in oact. sigsetsize should indi‐
17 cate the size of a sigset_t type.
18
19
21 rt_sigaction returns 0 on success; otherwise, rt_sigaction returns one
22 of the errors listed in the "Errors" section.
23
24
26 -EINVAL
27 sigsetsize was not equivalent to the size of a sigset_t type.
28
29
30 -EFAULT
31 An invalid act or oact value was specified.
32
33
35 rt_sigpending(2), rt_sigprocmask(2), rt_sigqueueinfo(2), rt_sigre‐
36 turn(2), rt_sigsuspend(2), rt_sigtimedwait(2)
37
38
40 Niki Rahimi
41
42
43
44Linux 2.6 2004-March-12 RT_SIGACTION(2)