4.104.115
Last change
on this file since b68e2b9a was
b68e2b9a,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/10/09 at 07:17:48
|
Provide stub if RTEMS_POSIX_API is disabled.
|
-
Property mode set to
100644
|
File size:
756 bytes
|
Line | |
---|
1 | /* |
---|
2 | * 3.3.5 Examine and Change Blocked Signals, P1003.1b-1993, p. 73 |
---|
3 | * |
---|
4 | * NOTE: P1003.1c/D10, p. 37 adds pthread_sigmask(). |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1999. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.rtems.com/license/LICENSE. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | #if HAVE_CONFIG_H |
---|
17 | #include "config.h" |
---|
18 | #endif |
---|
19 | |
---|
20 | #include <pthread.h> |
---|
21 | #include <signal.h> |
---|
22 | |
---|
23 | int sigprocmask( |
---|
24 | int how, |
---|
25 | const sigset_t *set, |
---|
26 | sigset_t *oset |
---|
27 | ) |
---|
28 | { |
---|
29 | /* |
---|
30 | * P1003.1c/Draft 10, p. 38 maps sigprocmask to pthread_sigmask. |
---|
31 | */ |
---|
32 | |
---|
33 | #if defined(RTEMS_POSIX_API) |
---|
34 | return pthread_sigmask( how, set, oset ); |
---|
35 | #else |
---|
36 | return -1; |
---|
37 | #endif |
---|
38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.