summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/signal06.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 18:08:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 18:08:15 +0000
commit9854e336054fe015f292cf7d18b639123a2e9dd3 (patch)
treec2ee104c56c8ea04bfe1a07036ea38d7d397501e /testsuites/psxtests/psxhdrs/signal06.c
parentupdates from Tony Bennett (diff)
downloadrtems-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.c11
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 );
}