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

NAME

6       rt_sigtimedwait  -  Synchronously  wait for queued signals specified in
7       uthese
8

SYNOPSIS

10       long sys_rt_sigtimedwait (const sigset_t *uthese, siginfo_t *uinfo,
11                                 const struct struct timespec *uts,
12                                 size_t sigsetsize);
13
14

DESCRIPTION

16       rt_sigtimedwait synchronously waits for  queued  signals  specified  in
17       uthese. The uinfo value, if non-NULL, indicates to the call to return a
18       structure of type siginfo_t containing information  about  the  signal.
19       The  uts  variable  enables  an  upper  bound  on the time for when the
20       process is suspended. sigsetsize should indicate the size of a sigset_t
21       type.
22
23

RETURN VALUE

25       rt_sigtimedwait  returns  0  on success; otherwise, rt_sigqueueinfo re‐
26       turns one of the errors listed in the "Errors" section.
27
28

ERRORS

30       -EINVAL
31              sigsetsize or uts was invalid.
32
33
34       -EFAULT
35              uinfo was invalid.
36
37
38       -EAGAIN
39              No signal in uthese was delivered in the uts time period.
40
41
42       -EINTR The wait period was interrupted by a signal handler.
43
44

SEE ALSO

46       rt_sigaction(2),  rt_sigpending(2),  rt_sigprocmask(2),   rt_sigqueuin‐
47       fo(2), rt_sigreturn(2), rt_sigsuspend(2)
48
49

AUTHOR

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