/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
H A D | 3-13.c | 15 2. Set the signal handler for SIGTERM to handler 17 4. raise SIGTERM 40 if (sigaction(SIGTERM, &act, 0) == -1) { 46 if (sigaction(SIGTERM, 0, &oact) == -1) { 52 if (raise(SIGTERM) == -1) {
|
H A D | 1-13.c | 17 2. Use sigaction to setup a signal handler for SIGTERM 18 3. Raise SIGTERM. 40 if (sigaction(SIGTERM, &act, 0) == -1) { 46 if (raise(SIGTERM) == -1) {
|
H A D | 28-13.c | 24 * -> register a signal handler for SIGTERM with signal(). 65 if (signal(SIGTERM, handler_1) == SIG_ERR) { 85 ret = sigaction(SIGTERM, &sa, &save); 93 ret = raise(SIGTERM); 106 ret = sigaction(SIGTERM, &save, 0); 114 ret = raise(SIGTERM);
|
H A D | 22-13.c | 18 3. (child) Setup a signal handler for SIGTERM with SA_NODEFER set 20 4. (child) raise SIGTERM 22 6. (child, signal handler) if count is 1 then raise SIGTERM 44 printf("SIGTERM caught\n"); 54 printf("Raising SIGTERM\n"); 55 raise(SIGTERM); 56 printf("Returning from raising SIGTERM\n"); 72 if (sigaction(SIGTERM, &act, 0) == -1) { 78 if (raise(SIGTERM) == -1) {
|
H A D | 25-13.c | 17 3. (child) Setup a signal handler for SIGTERM 18 4. (child) raise SIGTERM 20 6. (child, signal handler) if count is 1 then raise SIGTERM 41 printf("SIGTERM caught\n"); 52 printf("Raising SIGTERM\n"); 53 raise(SIGTERM); 54 printf("Returning from raising SIGTERM\n"); 70 if (sigaction(SIGTERM, &act, 0) == -1) { 76 if (raise(SIGTERM) == -1) {
|
H A D | 8-14.c | 26 printf("Caught SIGTERM\n"); 32 raise(SIGTERM); 46 sigaddset(&act.sa_mask, SIGTERM); 56 if (sigaction(SIGTERM, &act, 0) == -1) {
|
H A D | 13-13.c | 31 printf("Caught SIGTERM\n"); 52 if (sigaction(SIGTERM, &act, 0) == -1) { 64 if (raise(SIGTERM) == -1) {
|
H A D | 2-13.c | 14 1. Call sigaction to set handler for SIGTERM to use handler1 15 2. Call sigaction again to set handler for SIGTERM to use handler2, 42 if (sigaction(SIGTERM, &act, 0) == -1) { 50 if (sigaction(SIGTERM, &act, &oact) == -1) {
|
H A D | 4-13.c | 16 3. (child) Setup a signal handler for SIGTERM with SIGKILL added to 18 4. (child) raise SIGTERM 54 if (sigaction(SIGTERM, &act, 0) == -1) { 60 if (raise(SIGTERM) == -1) {
|
H A D | 6-13.c | 9 setting the SA_INFO bit in the signal mask for SIGTERM will result 37 if (sigaction(SIGTERM, &act, 0) == -1) { 43 if (raise(SIGTERM) == -1) {
|
H A D | 12-13.c | 32 printf("Caught SIGTERM\n"); 53 if (sigaction(SIGTERM, &act, 0) == -1) { 73 if (raise(SIGTERM) == -1) {
|
H A D | 12-39.c | 30 printf("Caught SIGTERM\n"); 51 if (sigaction(SIGTERM, &act, 0) == -1) { 63 if (raise(SIGTERM) == -1) {
|
H A D | 18-13.c | 24 * -> register a handler for SIGTERM without SA_SIGINFO, and a known function 26 * -> raise SIGTERM, and check the function has been called. 68 /* Install the signal handler for SIGTERM */ 69 ret = sigaction(SIGTERM, &sa, 0); 82 ret = raise(SIGTERM); 85 perror("Failed to raise SIGTERM");
|
H A D | 4-39.c | 16 3. (child) Setup a signal handler for SIGTERM with SIGSTOP added to 18 4. (child) raise SIGTERM 53 if (sigaction(SIGTERM, &act, 0) == -1) { 59 if (raise(SIGTERM) == -1) {
|
H A D | 8-13.c | 31 printf("Caught SIGTERM\n"); 47 if (sigaction(SIGTERM, &act, 0) == -1) { 62 if (raise(SIGTERM) == -1) {
|
/external/strace/tests/ |
H A D | qual_signal.test | 62 '!2,15' '!INT,TERM' '!SIGINT,TERM' '!INT,SIGTERM' '!SIGTERM,SIGINT' \ 63 '!2,INT,TERM' '!2,SIGTERM' '!SIGINT,15' '!INT,SIGTERM,15' \ 71 '!15' '!TERM' '!SIGTERM' \ 72 '!15,TERM' '!SIGTERM,15,TERM' \ 73 '!SIGALRM,TERM' '!CHLD,SIGTERM' \ 74 '!ALRM,15' '!SIGCHLD,ALRM,SIGTERM,KILL' \ 77 test_sigs '' SIGTERM \ 78 15 TERM SIGTERM \ [all...] |
/external/strace/tests-m32/ |
H A D | qual_signal.test | 62 '!2,15' '!INT,TERM' '!SIGINT,TERM' '!INT,SIGTERM' '!SIGTERM,SIGINT' \ 63 '!2,INT,TERM' '!2,SIGTERM' '!SIGINT,15' '!INT,SIGTERM,15' \ 71 '!15' '!TERM' '!SIGTERM' \ 72 '!15,TERM' '!SIGTERM,15,TERM' \ 73 '!SIGALRM,TERM' '!CHLD,SIGTERM' \ 74 '!ALRM,15' '!SIGCHLD,ALRM,SIGTERM,KILL' \ 77 test_sigs '' SIGTERM \ 78 15 TERM SIGTERM \ [all...] |
/external/strace/tests-mx32/ |
H A D | qual_signal.test | 62 '!2,15' '!INT,TERM' '!SIGINT,TERM' '!INT,SIGTERM' '!SIGTERM,SIGINT' \ 63 '!2,INT,TERM' '!2,SIGTERM' '!SIGINT,15' '!INT,SIGTERM,15' \ 71 '!15' '!TERM' '!SIGTERM' \ 72 '!15,TERM' '!SIGTERM,15,TERM' \ 73 '!SIGALRM,TERM' '!CHLD,SIGTERM' \ 74 '!ALRM,15' '!SIGCHLD,ALRM,SIGTERM,KILL' \ 77 test_sigs '' SIGTERM \ 78 15 TERM SIGTERM \ [all...] |
/external/ltp/testcases/kernel/syscalls/rename/ |
H A D | rename14.c | 78 if (sigaction(SIGTERM, &act, &oact)) { 79 tst_brkm(TBROK, NULL, "Sigaction(SIGTERM)"); 101 (void)kill(kidpid[0], SIGTERM); 116 kill(kidpid[0], SIGTERM); 117 kill(kidpid[1], SIGTERM); 136 return (kill(kidpid[0], SIGTERM)); 138 return (kill(kidpid[1], SIGTERM)); 145 return (kill(kidpid[0], SIGTERM)); 147 return (kill(kidpid[1], SIGTERM));
|
/external/chromium-trace/catapult/devil/devil/android/ |
H A D | device_signal.py | 25 SIGTERM = 15 # Terminated variable
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
H A D | device_signal.py | 25 SIGTERM = 15 # Terminated variable
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | signal_during_stop_the_world.cc | 34 prctl(PR_SET_PDEATHSIG, SIGTERM, 0, 0, 0); 46 kill(pid, SIGTERM);
|
/external/libcxx/test/std/depr/depr.c.headers/ |
H A D | signal_h.pass.cpp | 47 #ifndef SIGTERM 48 #error SIGTERM not defined
|
/external/libcxx/test/std/language.support/support.runtime/ |
H A D | csignal.pass.cpp | 47 #ifndef SIGTERM 48 #error SIGTERM not defined
|
/external/libedit/src/ |
H A D | sig.h | 56 _DO(SIGTERM) \
|