/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaction/ |
H A D | 2-7.c | 36 struct sigaction act; local 39 act.sa_handler = handler1; 40 act.sa_flags = 0; 41 sigemptyset(&act.sa_mask); 42 if (sigaction(SIGHUP, &act, 0) == -1) { 48 act.sa_handler = handler2; 49 sigemptyset(&act.sa_mask); 50 if (sigaction(SIGHUP, &act, &oact) == -1) {
|
H A D | 2-8.c | 36 struct sigaction act; local 39 act.sa_handler = handler1; 40 act.sa_flags = 0; 41 sigemptyset(&act.sa_mask); 42 if (sigaction(SIGILL, &act, 0) == -1) { 48 act.sa_handler = handler2; 49 sigemptyset(&act.sa_mask); 50 if (sigaction(SIGILL, &act, &oact) == -1) {
|
H A D | 2-9.c | 36 struct sigaction act; local 39 act.sa_handler = handler1; 40 act.sa_flags = 0; 41 sigemptyset(&act.sa_mask); 42 if (sigaction(SIGINT, &act, 0) == -1) { 48 act.sa_handler = handler2; 49 sigemptyset(&act.sa_mask); 50 if (sigaction(SIGINT, &act, &oact) == -1) {
|
H A D | 8-1.c | 41 struct sigaction act; local 43 act.sa_handler = SIGABRT_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGXFSZ); 47 if (sigaction(SIGABRT, &act, 0) == -1) { 53 act.sa_handler = SIGXFSZ_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGXFSZ, &act, [all...] |
H A D | 8-10.c | 41 struct sigaction act; local 43 act.sa_handler = SIGPIPE_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGINT); 47 if (sigaction(SIGPIPE, &act, 0) == -1) { 53 act.sa_handler = SIGINT_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGINT, &act, [all...] |
H A D | 8-11.c | 41 struct sigaction act; local 43 act.sa_handler = SIGQUIT_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGPIPE); 47 if (sigaction(SIGQUIT, &act, 0) == -1) { 53 act.sa_handler = SIGPIPE_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGPIPE, &act, [all...] |
H A D | 8-12.c | 41 struct sigaction act; local 43 act.sa_handler = SIGSEGV_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGQUIT); 47 if (sigaction(SIGSEGV, &act, 0) == -1) { 53 act.sa_handler = SIGQUIT_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGQUIT, &act, [all...] |
H A D | 8-13.c | 41 struct sigaction act; local 43 act.sa_handler = SIGTERM_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGSEGV); 47 if (sigaction(SIGTERM, &act, 0) == -1) { 53 act.sa_handler = SIGSEGV_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGSEGV, &act, [all...] |
H A D | 8-14.c | 41 struct sigaction act; local 43 act.sa_handler = SIGTSTP_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGTERM); 47 if (sigaction(SIGTSTP, &act, 0) == -1) { 53 act.sa_handler = SIGTERM_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGTERM, &act, [all...] |
H A D | 8-15.c | 41 struct sigaction act; local 43 act.sa_handler = SIGTTIN_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGTSTP); 47 if (sigaction(SIGTTIN, &act, 0) == -1) { 53 act.sa_handler = SIGTSTP_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGTSTP, &act, [all...] |
H A D | 8-16.c | 41 struct sigaction act; local 43 act.sa_handler = SIGTTOU_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGTTIN); 47 if (sigaction(SIGTTOU, &act, 0) == -1) { 53 act.sa_handler = SIGTTIN_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGTTIN, &act, [all...] |
H A D | 8-17.c | 41 struct sigaction act; local 43 act.sa_handler = SIGUSR1_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGTTOU); 47 if (sigaction(SIGUSR1, &act, 0) == -1) { 53 act.sa_handler = SIGTTOU_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGTTOU, &act, [all...] |
H A D | 8-18.c | 41 struct sigaction act; local 43 act.sa_handler = SIGUSR2_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGUSR1); 47 if (sigaction(SIGUSR2, &act, 0) == -1) { 53 act.sa_handler = SIGUSR1_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGUSR1, &act, [all...] |
H A D | 8-19.c | 41 struct sigaction act; local 43 act.sa_handler = SIGPOLL_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGUSR2); 47 if (sigaction(SIGPOLL, &act, 0) == -1) { 53 act.sa_handler = SIGUSR2_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGUSR2, &act, [all...] |
H A D | 8-2.c | 41 struct sigaction act; local 43 act.sa_handler = SIGALRM_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGABRT); 47 if (sigaction(SIGALRM, &act, 0) == -1) { 53 act.sa_handler = SIGABRT_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGABRT, &act, [all...] |
H A D | 8-20.c | 41 struct sigaction act; local 43 act.sa_handler = SIGPROF_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGPOLL); 47 if (sigaction(SIGPROF, &act, 0) == -1) { 53 act.sa_handler = SIGPOLL_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGPOLL, &act, [all...] |
H A D | 8-21.c | 41 struct sigaction act; local 43 act.sa_handler = SIGSYS_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGPROF); 47 if (sigaction(SIGSYS, &act, 0) == -1) { 53 act.sa_handler = SIGPROF_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGPROF, &act, [all...] |
H A D | 8-22.c | 41 struct sigaction act; local 43 act.sa_handler = SIGTRAP_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGSYS); 47 if (sigaction(SIGTRAP, &act, 0) == -1) { 53 act.sa_handler = SIGSYS_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGSYS, &act, [all...] |
H A D | 8-23.c | 41 struct sigaction act; local 43 act.sa_handler = SIGURG_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGTRAP); 47 if (sigaction(SIGURG, &act, 0) == -1) { 53 act.sa_handler = SIGTRAP_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGTRAP, &act, [all...] |
H A D | 8-24.c | 41 struct sigaction act; local 43 act.sa_handler = SIGVTALRM_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGURG); 47 if (sigaction(SIGVTALRM, &act, 0) == -1) { 53 act.sa_handler = SIGURG_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGURG, &act, [all...] |
H A D | 8-25.c | 41 struct sigaction act; local 43 act.sa_handler = SIGXCPU_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGVTALRM); 47 if (sigaction(SIGXCPU, &act, 0) == -1) { 53 act.sa_handler = SIGVTALRM_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGVTALRM, &act, [all...] |
H A D | 8-26.c | 41 struct sigaction act; local 43 act.sa_handler = SIGXFSZ_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGXCPU); 47 if (sigaction(SIGXFSZ, &act, 0) == -1) { 53 act.sa_handler = SIGXCPU_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGXCPU, &act, [all...] |
H A D | 8-3.c | 41 struct sigaction act; local 43 act.sa_handler = SIGBUS_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGALRM); 47 if (sigaction(SIGBUS, &act, 0) == -1) { 53 act.sa_handler = SIGALRM_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGALRM, &act, [all...] |
H A D | 8-4.c | 41 struct sigaction act; local 43 act.sa_handler = SIGCHLD_handler; 44 act.sa_flags = 0; 45 sigemptyset(&act.sa_mask); 46 sigaddset(&act.sa_mask, SIGBUS); 47 if (sigaction(SIGCHLD, &act, 0) == -1) { 53 act.sa_handler = SIGBUS_handler; 54 act.sa_flags = 0; 55 sigemptyset(&act.sa_mask); 56 if (sigaction(SIGBUS, &act, [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaction/templates/ |
H A D | template_2-1.in | 36 struct sigaction act; 39 act.sa_handler = handler1; 40 act.sa_flags = 0; 41 sigemptyset(&act.sa_mask); 42 if (sigaction(%%MYSIG%%, &act, 0) == -1) { 48 act.sa_handler = handler2; 49 sigemptyset(&act.sa_mask); 50 if (sigaction(%%MYSIG%%, &act, &oact) == -1) {
|