Home | History | Annotate | Download | only in testcarchive

Lines Matching refs:sa

10 struct sigaction sa;
23 memset(&sa, 0, sizeof sa);
24 sa.sa_sigaction = handler;
25 sigemptyset(&sa.sa_mask);
26 sa.sa_flags = SA_ONSTACK | SA_SIGINFO;
29 if (sigaction(SIGSEGV, &sa, &osa) < 0) {
43 if (sigaction(SIGSEGV, NULL, &sa) < 0) {
47 if (sa.sa_sigaction != handler) {
48 fprintf(stderr, "ERROR: wrong signal handler: %p != %p\n", sa.sa_sigaction, handler);