/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
H A D | 28-14.c | 24 * -> register a signal handler for SIGTSTP with signal(). 63 if (signal(SIGTSTP, handler_1) == SIG_ERR) { in main() 83 ret = sigaction(SIGTSTP, &sa, &save); in main() 91 ret = raise(SIGTSTP); in main() 104 ret = sigaction(SIGTSTP, &save, 0); in main() 112 ret = raise(SIGTSTP); in main()
|
H A D | 3-14.c | 15 2. Set the signal handler for SIGTSTP to handler 17 4. raise SIGTSTP 40 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 46 if (sigaction(SIGTSTP, 0, &oact) == -1) { in main() 52 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 22-14.c | 18 3. (child) Setup a signal handler for SIGTSTP with SA_NODEFER set 20 4. (child) raise SIGTSTP 22 6. (child, signal handler) if count is 1 then raise SIGTSTP 43 printf("SIGTSTP caught\n"); in handler() 53 printf("Raising SIGTSTP\n"); in handler() 54 raise(SIGTSTP); in handler() 55 printf("Returning from raising SIGTSTP\n"); in handler() 71 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 77 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 25-14.c | 17 3. (child) Setup a signal handler for SIGTSTP 18 4. (child) raise SIGTSTP 20 6. (child, signal handler) if count is 1 then raise SIGTSTP 41 printf("SIGTSTP caught\n"); in handler() 52 printf("Raising SIGTSTP\n"); in handler() 53 raise(SIGTSTP); in handler() 54 printf("Returning from raising SIGTSTP\n"); in handler() 70 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 76 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 8-15.c | 26 printf("Caught SIGTSTP\n"); in SIGTSTP_handler() 32 raise(SIGTSTP); in SIGTTIN_handler() 46 sigaddset(&act.sa_mask, SIGTSTP); in main() 56 if (sigaction(SIGTSTP, &act, 0) == -1) { in main()
|
H A D | 19-14.c | 25 * -> register a handler for SIGTSTP with SA_SIGINFO, and a known function 27 * -> raise SIGTSTP, and check the function has been called. 50 if (info->si_signo != SIGTSTP) { in handler() 84 /* Install the signal handler for SIGTSTP */ in main() 85 ret = sigaction(SIGTSTP, &sa, 0); in main() 98 ret = raise(SIGTSTP); in main() 101 perror("Failed to raise SIGTSTP"); in main()
|
H A D | 1-14.c | 17 2. Use sigaction to setup a signal handler for SIGTSTP 18 3. Raise SIGTSTP. 40 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 46 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 4-14.c | 16 3. (child) Setup a signal handler for SIGTSTP with SIGKILL added to 18 4. (child) raise SIGTSTP 54 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 60 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 12-40.c | 29 printf("Caught SIGTSTP\n"); in handler() 50 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 62 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 13-14.c | 30 printf("Caught SIGTSTP\n"); in handler() 51 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 63 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 18-14.c | 24 * -> register a handler for SIGTSTP without SA_SIGINFO, and a known function 26 * -> raise SIGTSTP, and check the function has been called. 66 /* Install the signal handler for SIGTSTP */ in main() 67 ret = sigaction(SIGTSTP, &sa, 0); in main() 80 ret = raise(SIGTSTP); in main() 83 perror("Failed to raise SIGTSTP"); in main()
|
H A D | 2-14.c | 14 1. Call sigaction to set handler for SIGTSTP to use handler1 15 2. Call sigaction again to set handler for SIGTSTP to use handler2, 40 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 48 if (sigaction(SIGTSTP, &act, &oact) == -1) { in main()
|
H A D | 6-14.c | 9 setting the SA_INFO bit in the signal mask for SIGTSTP will result 38 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 44 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 4-40.c | 16 3. (child) Setup a signal handler for SIGTSTP with SIGSTOP added to 18 4. (child) raise SIGTSTP 53 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 59 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 8-14.c | 31 printf("Caught SIGTSTP\n"); in SIGTSTP_handler() 47 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 62 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 12-14.c | 31 printf("Caught SIGTSTP\n"); in handler() 52 if (sigaction(SIGTSTP, &act, 0) == -1) { in main() 72 if (raise(SIGTSTP) == -1) { in main()
|
H A D | 17-14.c | 10 errno set to EINTR if a handler for the SIGTSTP signal is setup with 32 printf("Caught SIGTSTP\n"); in handler() 48 sigaction(SIGTSTP, &act, 0); in main() 67 process sending the SIGTSTP signal, and the in main() 82 kill(pid, SIGTSTP); in main()
|
H A D | 4-66.c | 10 that attempting to add SIGKILL to the signal mask of SIGTSTP will 33 if (sigaction(SIGTSTP, &act, 0) == -1) { in main()
|
H A D | 4-92.c | 10 that attempting to add SIGSTOP to the signal mask of SIGTSTP will 33 if (sigaction(SIGTSTP, &act, 0) == -1) { in main()
|
/third_party/musl/src/string/ |
H A D | strsignal.c | 9 && (SIGCHLD == 17) && (SIGCONT == 18) && (SIGSTOP == 19) && (SIGTSTP == 20) \ 42 [SIGTSTP] = 20,
|
/third_party/alsa-utils/axfer/ |
H A D | subcmd-transfer.c | 51 // 2. Prepare for default handler(SIG_DFL) of SIGTSTP to stop this in handle_unix_signal_for_suspend() 53 if (sigaction(SIGTSTP, NULL, &sa) < 0) { in handle_unix_signal_for_suspend() 61 if (sigaction(SIGTSTP, &sa, NULL) < 0) { in handle_unix_signal_for_suspend() 66 // Queue SIGTSTP. in handle_unix_signal_for_suspend() 67 raise(SIGTSTP); in handle_unix_signal_for_suspend() 72 sigaddset(&curr, SIGTSTP); in handle_unix_signal_for_suspend() 85 // Reconfigure this handler for SIGTSTP, instead of default one. in handle_unix_signal_for_suspend() 89 if (sigaction(SIGTSTP, &sa, NULL) < 0) { in handle_unix_signal_for_suspend() 114 if (sigaction(SIGTSTP, &sa, NULL) < 0) in prepare_signal_handler()
|
/third_party/node/src/api/ |
H A D | utils.cc | 92 #ifdef SIGTSTP in signo_string() 93 SIGNO_CASE(SIGTSTP); in signo_string()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
H A D | 13-1.c | 26 (0 == SIGTSTP) || in main()
|
/third_party/ltp/testcases/kernel/syscalls/signal/ |
H A D | signal05.c | 20 SIGCHLD, SIGCONT, SIGTSTP, SIGTTIN,
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/ |
H A D | 1-3.c | 27 SIGTSTP, SIGTTIN, SIGTTOU, SIGUSR1, SIGUSR2,
|