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

NAME

6       rt_sigsuspend  -  Replace  the signal mask for a value with the unewset
7       value until a signal is received
8

SYNOPSIS

10       long sys_rt_sigsuspend (sigset_t *unewset, size_t sigsetsize,
11                               struct pt_regs regs); Opteron
12
13       long sys_rt_sigsuspend (sigset_t *unewset, size_t sigsetsize,
14                               struct pt_regs regs); pSeries
15
16       long sys_rt_sigsuspend (sigset_t *unewset, size_t sigsetsize); xSeries
17
18       long sys_rt_sigsuspend (struct pt_regs *regs, sigset_t *unewset,
19                               size_t sigsetsize); s390
20
21

DESCRIPTION

23       rt_sigsuspend replaces the signal mask for the process with the unewset
24       value until a signal is received. sigsetsize should indicate  the  size
25       of  a  sigset_t type. In some architectures, the struct pt_regs regs is
26       used to indicate interrupts.
27
28

RETURN VALUE

30       rt_sigsuspend always returns -1 with the EINTR value.
31
32

ERRORS

34       -EINVAL
35              An invalid signal was specified.
36
37
38       -EFAULT
39              unewset pointed to memory that is not part of  the  process  ad‐
40              dress.
41
42
43       -EITR  The system call was interrupted.
44
45

SEE ALSO

47       rt_sigaction(2),  rt_sigpending(2),  rt_sigprocmask(2), rt_sigqueue(2),
48       rt_sigreturn(2), rt_sigtimedwait(2)
49
50

AUTHOR

52       Niki Rahimi
53
54
55
56Linux 2.6                        2004-March-12                RT_SIGSUSPEND(2)
Impressum