/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
H A D | 3-15.c | 15 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 D | 1-15.c | 17 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 D | 28-15.c | 24 * -> 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 D | 22-15.c | 18 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 D | 25-15.c | 17 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 D | 8-16.c | 26 printf("Caught SIGTTIN\n"); 32 raise(SIGTTIN); 46 sigaddset(&act.sa_mask, SIGTTIN); 56 if (sigaction(SIGTTIN, &act, 0) == -1) {
|
H A D | 13-15.c | 31 printf("Caught SIGTTIN\n"); 52 if (sigaction(SIGTTIN, &act, 0) == -1) { 64 if (raise(SIGTTIN) == -1) {
|
H A D | 2-15.c | 14 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 D | 4-15.c | 16 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 D | 6-15.c | 9 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 D | 12-15.c | 32 printf("Caught SIGTTIN\n"); 53 if (sigaction(SIGTTIN, &act, 0) == -1) { 73 if (raise(SIGTTIN) == -1) {
|
H A D | 12-41.c | 30 printf("Caught SIGTTIN\n"); 51 if (sigaction(SIGTTIN, &act, 0) == -1) { 63 if (raise(SIGTTIN) == -1) {
|
H A D | 18-15.c | 24 * -> 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 D | 4-41.c | 16 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 D | 8-15.c | 31 printf("Caught SIGTTIN\n"); 47 if (sigaction(SIGTTIN, &act, 0) == -1) { 62 if (raise(SIGTTIN) == -1) {
|
H A D | 4-67.c | 10 that attempting to add SIGKILL to the signal mask of SIGTTIN will 33 if (sigaction(SIGTTIN, &act, 0) == -1) {
|
H A D | 4-93.c | 10 that attempting to add SIGSTOP to the signal mask of SIGTTIN will 33 if (sigaction(SIGTTIN, &act, 0) == -1) {
|
H A D | 19-15.c | 25 * -> 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 D | 17-15.c | 10 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 D | device_signal.py | 31 SIGTTIN = 21 # Stopped (tty input) variable
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
H A D | device_signal.py | 31 SIGTTIN = 21 # Stopped (tty input) variable
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
H A D | 13-1.c | 27 (0 == SIGTTIN) ||
|
H A D | 14-1-buildonly.c | 23 int dummy17 = SIGTTIN;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/ |
H A D | 1-3.c | 27 SIGTSTP, SIGTTIN, SIGTTOU, SIGUSR1, SIGUSR2,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigemptyset/ |
H A D | 1-1.c | 26 SIGTERM, SIGTSTP, SIGTTIN, SIGTTOU, SIGUSR1,
|