diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-23 18:08:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-23 18:08:15 +0000 |
commit | 9854e336054fe015f292cf7d18b639123a2e9dd3 (patch) | |
tree | c2ee104c56c8ea04bfe1a07036ea38d7d397501e /testsuites/psxtests/psxhdrs/signal06.c | |
parent | updates from Tony Bennett (diff) | |
download | rtems-9854e336054fe015f292cf7d18b639123a2e9dd3.tar.bz2 |
updated to reflect more constants and feature macros
Diffstat (limited to 'testsuites/psxtests/psxhdrs/signal06.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal06.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/signal06.c b/testsuites/psxtests/psxhdrs/signal06.c index ea02a2bdd1..d4738c52b7 100644 --- a/testsuites/psxtests/psxhdrs/signal06.c +++ b/testsuites/psxtests/psxhdrs/signal06.c @@ -24,5 +24,16 @@ void test( void ) signal_number = SIGALRM; + /* + * Really should not reference sa_handler and sa_signction simultaneously. + */ + + act.sa_handler = SIG_DFL; + act.sa_handler = SIG_IGN; + act.sa_mask = 0; + act.sa_flags = SA_NOCLDSTOP; + act.sa_flags = SA_SIGINFO; + act.sa_sigaction = NULL; + result = sigaction( signal_number, &act, &oact ); } |