Searched refs:SIGTERM (Results 1 - 25 of 367) sorted by relevance

1234567891011>>

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D3-13.c15 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 D1-13.c17 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 D28-13.c24 * -> 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 D22-13.c18 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 D25-13.c17 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 D8-14.c26 printf("Caught SIGTERM\n");
32 raise(SIGTERM);
46 sigaddset(&act.sa_mask, SIGTERM);
56 if (sigaction(SIGTERM, &act, 0) == -1) {
H A D13-13.c31 printf("Caught SIGTERM\n");
52 if (sigaction(SIGTERM, &act, 0) == -1) {
64 if (raise(SIGTERM) == -1) {
H A D2-13.c14 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 D4-13.c16 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 D6-13.c9 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 D12-13.c32 printf("Caught SIGTERM\n");
53 if (sigaction(SIGTERM, &act, 0) == -1) {
73 if (raise(SIGTERM) == -1) {
H A D12-39.c30 printf("Caught SIGTERM\n");
51 if (sigaction(SIGTERM, &act, 0) == -1) {
63 if (raise(SIGTERM) == -1) {
H A D18-13.c24 * -> 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 D4-39.c16 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 D8-13.c31 printf("Caught SIGTERM\n");
47 if (sigaction(SIGTERM, &act, 0) == -1) {
62 if (raise(SIGTERM) == -1) {
/external/strace/tests/
H A Dqual_signal.test62 '!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 Dqual_signal.test62 '!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 Dqual_signal.test62 '!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 Drename14.c78 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 Ddevice_signal.py25 SIGTERM = 15 # Terminated variable
/external/libmojo/third_party/catapult/devil/devil/android/
H A Ddevice_signal.py25 SIGTERM = 15 # Terminated variable
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dsignal_during_stop_the_world.cc34 prctl(PR_SET_PDEATHSIG, SIGTERM, 0, 0, 0);
46 kill(pid, SIGTERM);
/external/libcxx/test/std/depr/depr.c.headers/
H A Dsignal_h.pass.cpp47 #ifndef SIGTERM
48 #error SIGTERM not defined
/external/libcxx/test/std/language.support/support.runtime/
H A Dcsignal.pass.cpp47 #ifndef SIGTERM
48 #error SIGTERM not defined
/external/libedit/src/
H A Dsig.h56 _DO(SIGTERM) \

Completed in 710 milliseconds

1234567891011>>