1RT_SIGPROCMASK(2)          Linux Programmer's Guide          RT_SIGPROCMASK(2)
2
3
4

NAME

6       rt_sigprocmask - Change the list of currently blocked signals
7

SYNOPSIS

9       long sys_rt_sigprocmask (int how, sigset_t *set, sigset_t *oset,
10                                size_t sigsetsize);
11
12

DESCRIPTION

14       rt_sigprocmask changes the list of currently blocked signals.  The  set
15       value  stores  the signal mask of the pending signals. The previous ac‐
16       tion on the signal is saved in oact. The value of how indicates how the
17       call should behave; its values are as follows:
18
19
20       SIG_BLOCK
21              The  set  of blocked signals is the union of the current set and
22              the set argument.
23
24
25       SIG_UNBLOCK
26              The signals in set are removed from the current set  of  blocked
27              signals. It is okay to unblock a signal that is not blocked.
28
29
30       SIG_SETMASK
31              The  set  of blocked signals is set to the set argument. sigset‐
32              size should indicate the size of a sigset_t type.
33
34
35

RETURN VALUE

37       rt_sigprocmask returns 0 on success; otherwise, rt_sigprocmask  returns
38       one of the errors listed in the "Errors" section.
39
40

ERRORS

42       -EINVAL
43              sigsetsize  was not equivalent to the size of a sigset_t type or
44              the value specified in how was invalid.
45
46
47       -EFAULT
48              An invalid set, act, or oact was specified.
49
50

SEE ALSO

52       rt_sigaction(2), rt_sigpending(2), rt_sigqueueinfo(2), rt_sigreturn(2),
53       rt_sigsuspend(2), rt_sigtimedwait(2)
54
55

AUTHOR

57       Niki Rahimi
58
59
60
61Linux 2.6                        2004-March-12               RT_SIGPROCMASK(2)
Impressum