signal.c 262 B

1234567891011121314151617181920212223
  1. #include <signal.h>
  2. #include "test.h"
  3. sig_atomic_t test_sig_atomic = 0;
  4. void test_signal_h(void)
  5. {
  6. int signals[] = {
  7. SIGABRT,
  8. SIGFPE,
  9. SIGILL,
  10. SIGINT,
  11. SIGSEGV,
  12. SIGTERM,
  13. };
  14. testing_header("signal.h");
  15. test_distinct(signals);
  16. testing_end();
  17. }