5
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2009 by |
---|
3 | * Ralf Corsépius, Ulm, Germany. All rights reserved. |
---|
4 | * |
---|
5 | * Permission to use, copy, modify, and distribute this software |
---|
6 | * is freely granted, provided that this notice is preserved. |
---|
7 | */ |
---|
8 | |
---|
9 | #ifdef HAVE_CONFIG_H |
---|
10 | #include "config.h" |
---|
11 | #endif |
---|
12 | |
---|
13 | #include <signal.h> |
---|
14 | |
---|
15 | int main(void) |
---|
16 | { |
---|
17 | int rc; |
---|
18 | sigset_t set1, set2; |
---|
19 | |
---|
20 | rc = sigprocmask(SIG_BLOCK, &set1, &set2); |
---|
21 | (void) rc; |
---|
22 | |
---|
23 | rc = sigprocmask(SIG_UNBLOCK, &set1, &set2); |
---|
24 | (void) rc; |
---|
25 | |
---|
26 | rc = sigprocmask(SIG_SETMASK, &set1, &set2); |
---|
27 | |
---|
28 | return rc; |
---|
29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.