| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
| 22-21.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGSYS with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGSYS 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-22.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGTRAP with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGTRAP 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-23.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGURG with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGURG 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-24.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGVTALRM with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGVTALRM 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-25.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGXCPU with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGXCPU 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-26.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGXFSZ with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGXFSZ 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-3.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGBUS with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGBUS 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-4.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGCHLD with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGCHLD 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-5.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGCONT with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGCONT 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-6.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGFPE with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGFPE 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-7.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGHUP with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGHUP 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-8.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGILL with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGILL 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 22-9.c | 13 signal handler and verifying that the handler is reentered. 18 3. (child) Setup a signal handler for SIGINT with SA_NODEFER set 21 5. (child, signal handler) increment handler count 22 6. (child, signal handler) if count is 1 then raise SIGINT 23 7. (child, signal handler) if count is 1 then set error variable 40 void handler(int signo) function 46 printf("Signal caught while inside handler\n"); 69 act.sa_handler = handler; [all...] |
| 25-1.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGABRT 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGABRT 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-10.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGPIPE 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGPIPE 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-11.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGQUIT 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGQUIT 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-12.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGSEGV 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGSEGV 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-13.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGTERM 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGTERM 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-14.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGTSTP 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGTSTP 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-15.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGTTIN 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGTTIN 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-16.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGTTOU 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGTTOU 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-17.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGUSR1 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGUSR1 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-18.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGUSR2 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGUSR2 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-19.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGUSR2 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGUSR2 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-2.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGUSR2 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGUSR2 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |