Searched refs:SIGTTIN (Results 1 - 25 of 71) sorted by relevance

123

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D3-15.c15 2. Set the signal handler for SIGTTIN to handler
17 4. raise SIGTTIN
40 if (sigaction(SIGTTIN, &act, 0) == -1) {
46 if (sigaction(SIGTTIN, 0, &oact) == -1) {
52 if (raise(SIGTTIN) == -1) {
H A D1-15.c17 2. Use sigaction to setup a signal handler for SIGTTIN
18 3. Raise SIGTTIN.
40 if (sigaction(SIGTTIN, &act, 0) == -1) {
46 if (raise(SIGTTIN) == -1) {
H A D28-15.c24 * -> register a signal handler for SIGTTIN with signal().
65 if (signal(SIGTTIN, handler_1) == SIG_ERR) {
85 ret = sigaction(SIGTTIN, &sa, &save);
93 ret = raise(SIGTTIN);
106 ret = sigaction(SIGTTIN, &save, 0);
114 ret = raise(SIGTTIN);
H A D22-15.c18 3. (child) Setup a signal handler for SIGTTIN with SA_NODEFER set
20 4. (child) raise SIGTTIN
22 6. (child, signal handler) if count is 1 then raise SIGTTIN
44 printf("SIGTTIN caught\n");
54 printf("Raising SIGTTIN\n");
55 raise(SIGTTIN);
56 printf("Returning from raising SIGTTIN\n");
72 if (sigaction(SIGTTIN, &act, 0) == -1) {
78 if (raise(SIGTTIN) == -1) {
H A D25-15.c17 3. (child) Setup a signal handler for SIGTTIN
18 4. (child) raise SIGTTIN
20 6. (child, signal handler) if count is 1 then raise SIGTTIN
41 printf("SIGTTIN caught\n");
52 printf("Raising SIGTTIN\n");
53 raise(SIGTTIN);
54 printf("Returning from raising SIGTTIN\n");
70 if (sigaction(SIGTTIN, &act, 0) == -1) {
76 if (raise(SIGTTIN) == -1) {
H A D8-16.c26 printf("Caught SIGTTIN\n");
32 raise(SIGTTIN);
46 sigaddset(&act.sa_mask, SIGTTIN);
56 if (sigaction(SIGTTIN, &act, 0) == -1) {
H A D13-15.c31 printf("Caught SIGTTIN\n");
52 if (sigaction(SIGTTIN, &act, 0) == -1) {
64 if (raise(SIGTTIN) == -1) {
H A D2-15.c14 1. Call sigaction to set handler for SIGTTIN to use handler1
15 2. Call sigaction again to set handler for SIGTTIN to use handler2,
42 if (sigaction(SIGTTIN, &act, 0) == -1) {
50 if (sigaction(SIGTTIN, &act, &oact) == -1) {
H A D4-15.c16 3. (child) Setup a signal handler for SIGTTIN with SIGKILL added to
18 4. (child) raise SIGTTIN
54 if (sigaction(SIGTTIN, &act, 0) == -1) {
60 if (raise(SIGTTIN) == -1) {
H A D6-15.c9 setting the SA_INFO bit in the signal mask for SIGTTIN will result
37 if (sigaction(SIGTTIN, &act, 0) == -1) {
43 if (raise(SIGTTIN) == -1) {
H A D12-15.c32 printf("Caught SIGTTIN\n");
53 if (sigaction(SIGTTIN, &act, 0) == -1) {
73 if (raise(SIGTTIN) == -1) {
H A D12-41.c30 printf("Caught SIGTTIN\n");
51 if (sigaction(SIGTTIN, &act, 0) == -1) {
63 if (raise(SIGTTIN) == -1) {
H A D18-15.c24 * -> register a handler for SIGTTIN without SA_SIGINFO, and a known function
26 * -> raise SIGTTIN, and check the function has been called.
68 /* Install the signal handler for SIGTTIN */
69 ret = sigaction(SIGTTIN, &sa, 0);
82 ret = raise(SIGTTIN);
85 perror("Failed to raise SIGTTIN");
H A D4-41.c16 3. (child) Setup a signal handler for SIGTTIN with SIGSTOP added to
18 4. (child) raise SIGTTIN
53 if (sigaction(SIGTTIN, &act, 0) == -1) {
59 if (raise(SIGTTIN) == -1) {
H A D8-15.c31 printf("Caught SIGTTIN\n");
47 if (sigaction(SIGTTIN, &act, 0) == -1) {
62 if (raise(SIGTTIN) == -1) {
H A D4-67.c10 that attempting to add SIGKILL to the signal mask of SIGTTIN will
33 if (sigaction(SIGTTIN, &act, 0) == -1) {
H A D4-93.c10 that attempting to add SIGSTOP to the signal mask of SIGTTIN will
33 if (sigaction(SIGTTIN, &act, 0) == -1) {
H A D19-15.c25 * -> register a handler for SIGTTIN with SA_SIGINFO, and a known function
27 * -> raise SIGTTIN, and check the function has been called.
54 if (info->si_signo != SIGTTIN) {
88 /* Install the signal handler for SIGTTIN */
89 ret = sigaction(SIGTTIN, &sa, 0);
102 ret = raise(SIGTTIN);
105 perror("Failed to raise SIGTTIN");
H A D17-15.c10 errno set to EINTR if a handler for the SIGTTIN signal is setup with
32 printf("Caught SIGTTIN\n");
48 sigaction(SIGTTIN, &act, 0);
67 process sending the SIGTTIN signal, and the
82 kill(pid, SIGTTIN);
/external/chromium-trace/catapult/devil/devil/android/
H A Ddevice_signal.py31 SIGTTIN = 21 # Stopped (tty input) variable
/external/libmojo/third_party/catapult/devil/devil/android/
H A Ddevice_signal.py31 SIGTTIN = 21 # Stopped (tty input) variable
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
H A D13-1.c27 (0 == SIGTTIN) ||
H A D14-1-buildonly.c23 int dummy17 = SIGTTIN;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/
H A D1-3.c27 SIGTSTP, SIGTTIN, SIGTTOU, SIGUSR1, SIGUSR2,
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigemptyset/
H A D1-1.c26 SIGTERM, SIGTSTP, SIGTTIN, SIGTTOU, SIGUSR1,

Completed in 416 milliseconds

123