Searched refs:SIGTSTP (Results 1 - 25 of 68) sorted by relevance

123

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaction/
H A D3-14.c15 2. Set the signal handler for SIGTSTP to handler
17 4. raise SIGTSTP
40 if (sigaction(SIGTSTP, &act, 0) == -1) {
46 if (sigaction(SIGTSTP, 0, &oact) == -1) {
53 if (raise(SIGTSTP) == -1) {
H A D1-14.c17 2. Use sigaction to setup a signal handler for SIGTSTP
18 3. Raise SIGTSTP.
40 if (sigaction(SIGTSTP, &act, 0) == -1) {
46 if (raise(SIGTSTP) == -1) {
H A D22-14.c18 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
44 printf("SIGTSTP caught\n");
54 printf("Raising SIGTSTP\n");
55 raise(SIGTSTP);
56 printf("Returning from raising SIGTSTP\n");
72 if (sigaction(SIGTSTP, &act, 0) == -1) {
78 if (raise(SIGTSTP) == -1) {
H A D25-14.c17 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");
52 printf("Raising SIGTSTP\n");
53 raise(SIGTSTP);
54 printf("Returning from raising SIGTSTP\n");
70 if (sigaction(SIGTSTP, &act, 0) == -1) {
76 if (raise(SIGTSTP) == -1) {
H A D8-15.c26 printf("Caught SIGTSTP\n");
32 raise(SIGTSTP);
46 sigaddset(&act.sa_mask, SIGTSTP);
56 if (sigaction(SIGTSTP, &act, 0) == -1) {
H A D13-14.c31 printf("Caught SIGTSTP\n");
52 if (sigaction(SIGTSTP, &act, 0) == -1) {
64 if (raise(SIGTSTP) == -1) {
H A D2-14.c14 1. Call sigaction to set handler for SIGTSTP to use handler1
15 2. Call sigaction again to set handler for SIGTSTP to use handler2,
42 if (sigaction(SIGTSTP, &act, 0) == -1) {
50 if (sigaction(SIGTSTP, &act, &oact) == -1) {
H A D4-14.c16 3. (child) Setup a signal handler for SIGTSTP with SIGKILL added to
18 4. (child) raise SIGTSTP
54 if (sigaction(SIGTSTP, &act, 0) == -1) {
60 if (raise(SIGTSTP) == -1) {
H A D6-14.c9 setting the SA_INFO bit in the signal mask for SIGTSTP will result
37 if (sigaction(SIGTSTP, &act, 0) == -1) {
43 if (raise(SIGTSTP) == -1) {
H A D12-14.c32 printf("Caught SIGTSTP\n");
53 if (sigaction(SIGTSTP, &act, 0) == -1) {
73 if (raise(SIGTSTP) == -1) {
H A D12-40.c30 printf("Caught SIGTSTP\n");
51 if (sigaction(SIGTSTP, &act, 0) == -1) {
63 if (raise(SIGTSTP) == -1) {
H A D4-40.c16 3. (child) Setup a signal handler for SIGTSTP with SIGSTOP added to
18 4. (child) raise SIGTSTP
53 if (sigaction(SIGTSTP, &act, 0) == -1) {
59 if (raise(SIGTSTP) == -1) {
H A D8-14.c31 printf("Caught SIGTSTP\n");
47 if (sigaction(SIGTSTP, &act, 0) == -1) {
63 if (raise(SIGTSTP) == -1) {
H A D4-66.c10 that attempting to add SIGKILL to the signal mask of SIGTSTP will
33 if (sigaction(SIGTSTP, &act, 0) == -1) {
H A D4-92.c10 that attempting to add SIGSTOP to the signal mask of SIGTSTP will
33 if (sigaction(SIGTSTP, &act, 0) == -1) {
H A D17-14.c10 errno set to EINTR if a handler for the SIGTSTP signal is setup with
32 printf("Caught SIGTSTP\n");
48 sigaction(SIGTSTP, &act, 0);
67 process sending the SIGTSTP signal, and the
82 kill(pid, SIGTSTP);
/haiku-fatelf/src/bin/less/
H A Dsignal.c65 #ifdef SIGTSTP
74 LSIGNAL(SIGTSTP, stop);
152 #ifdef SIGTSTP
153 (void) LSIGNAL(SIGTSTP, stop);
173 #ifdef SIGTSTP
174 (void) LSIGNAL(SIGTSTP, SIG_DFL);
201 #ifdef SIGTSTP
217 LSIGNAL(SIGTSTP, SIG_DFL);
218 kill(getpid(), SIGTSTP); local
225 LSIGNAL(SIGTSTP, sto
[all...]
/haiku-fatelf/src/libs/edit/
H A Dsig.h53 _DO(SIGTSTP) \
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/signal_h/
H A D13-1.c25 (0 == SIGTSTP) ||
H A D14-1.c22 int dummy16 = SIGTSTP;
/haiku-fatelf/src/libs/ncurses/ncurses/tty/
H A Dlib_tstp.c51 #if defined(SIGTSTP) && (HAVE_SIGACTION || HAVE_SIGVEC)
74 #ifdef SIGTSTP
75 case SIGTSTP:
76 return "SIGTSTP";
190 /* Unblock SIGTSTP. */
192 (void) sigaddset(&mask, SIGTSTP);
208 sigaction(SIGTSTP, &act, &oact);
209 kill(getpid(), SIGTSTP); local
214 sigaction(SIGTSTP, &oact, NULL);
347 * returning) to disable/enable the SIGTSTP (
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Devent-top.h91 /* Signal to catch ^Z typed while reading a command: SIGTSTP or SIGCONT. */
94 #ifdef SIGTSTP
95 #define STOP_SIGNAL SIGTSTP
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dsignals.c90 SIGINT, SIGTERM, SIGQUIT, SIGALRM, SIGTSTP, SIGTTIN, and SIGTTOU. */
121 #if defined (SIGTSTP)
189 #if defined (SIGTSTP)
190 case SIGTSTP:
193 #endif /* SIGTSTP */
355 #if defined (SIGTSTP)
356 sigaddset (&bset, SIGTSTP);
395 #if defined (SIGTSTP)
396 rl_maybe_set_sighandler (SIGTSTP, rl_signal_handler, &old_tstp);
397 #endif /* SIGTSTP */
[all...]
/haiku-fatelf/src/bin/gdb/readline/
H A Dsignals.c82 SIGINT, SIGTERM, SIGQUIT, SIGALRM, SIGTSTP, SIGTTIN, and SIGTTOU. */
102 #if defined (SIGTSTP)
140 #if defined (SIGTSTP)
141 case SIGTSTP:
144 #endif /* SIGTSTP */
294 #if defined (SIGTSTP)
295 rl_maybe_set_sighandler (SIGTSTP, rl_signal_handler, &old_tstp);
296 #endif /* SIGTSTP */
334 #if defined (SIGTSTP)
335 rl_sigaction (SIGTSTP,
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dsiglist.h73 #ifdef SIGTSTP
74 init_sig (SIGTSTP, "TSTP", N_("Stopped"))

Completed in 314 milliseconds

123