/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaction/ |
H A D | 3-10.c | 15 2. Set the signal handler for SIGPIPE to handler 17 4. raise SIGPIPE 40 if (sigaction(SIGPIPE, &act, 0) == -1) { 46 if (sigaction(SIGPIPE, 0, &oact) == -1) { 53 if (raise(SIGPIPE) == -1) {
|
H A D | 1-10.c | 17 2. Use sigaction to setup a signal handler for SIGPIPE 18 3. Raise SIGPIPE. 40 if (sigaction(SIGPIPE, &act, 0) == -1) { 46 if (raise(SIGPIPE) == -1) {
|
H A D | 22-10.c | 18 3. (child) Setup a signal handler for SIGPIPE with SA_NODEFER set 20 4. (child) raise SIGPIPE 22 6. (child, signal handler) if count is 1 then raise SIGPIPE 44 printf("SIGPIPE caught\n"); 54 printf("Raising SIGPIPE\n"); 55 raise(SIGPIPE); 56 printf("Returning from raising SIGPIPE\n"); 72 if (sigaction(SIGPIPE, &act, 0) == -1) { 78 if (raise(SIGPIPE) == -1) {
|
H A D | 25-10.c | 17 3. (child) Setup a signal handler for SIGPIPE 18 4. (child) raise SIGPIPE 20 6. (child, signal handler) if count is 1 then raise SIGPIPE 41 printf("SIGPIPE caught\n"); 52 printf("Raising SIGPIPE\n"); 53 raise(SIGPIPE); 54 printf("Returning from raising SIGPIPE\n"); 70 if (sigaction(SIGPIPE, &act, 0) == -1) { 76 if (raise(SIGPIPE) == -1) {
|
H A D | 8-11.c | 26 printf("Caught SIGPIPE\n"); 32 raise(SIGPIPE); 46 sigaddset(&act.sa_mask, SIGPIPE); 56 if (sigaction(SIGPIPE, &act, 0) == -1) {
|
H A D | 13-10.c | 31 printf("Caught SIGPIPE\n"); 52 if (sigaction(SIGPIPE, &act, 0) == -1) { 64 if (raise(SIGPIPE) == -1) {
|
H A D | 2-10.c | 14 1. Call sigaction to set handler for SIGPIPE to use handler1 15 2. Call sigaction again to set handler for SIGPIPE to use handler2, 42 if (sigaction(SIGPIPE, &act, 0) == -1) { 50 if (sigaction(SIGPIPE, &act, &oact) == -1) {
|
H A D | 4-10.c | 16 3. (child) Setup a signal handler for SIGPIPE with SIGKILL added to 18 4. (child) raise SIGPIPE 54 if (sigaction(SIGPIPE, &act, 0) == -1) { 60 if (raise(SIGPIPE) == -1) {
|
H A D | 6-10.c | 9 setting the SA_INFO bit in the signal mask for SIGPIPE will result 37 if (sigaction(SIGPIPE, &act, 0) == -1) { 43 if (raise(SIGPIPE) == -1) {
|
H A D | 12-10.c | 32 printf("Caught SIGPIPE\n"); 53 if (sigaction(SIGPIPE, &act, 0) == -1) { 73 if (raise(SIGPIPE) == -1) {
|
H A D | 12-36.c | 30 printf("Caught SIGPIPE\n"); 51 if (sigaction(SIGPIPE, &act, 0) == -1) { 63 if (raise(SIGPIPE) == -1) {
|
H A D | 4-36.c | 16 3. (child) Setup a signal handler for SIGPIPE with SIGSTOP added to 18 4. (child) raise SIGPIPE 53 if (sigaction(SIGPIPE, &act, 0) == -1) { 59 if (raise(SIGPIPE) == -1) {
|
H A D | 8-10.c | 31 printf("Caught SIGPIPE\n"); 47 if (sigaction(SIGPIPE, &act, 0) == -1) { 63 if (raise(SIGPIPE) == -1) {
|
H A D | 4-62.c | 10 that attempting to add SIGKILL to the signal mask of SIGPIPE will 33 if (sigaction(SIGPIPE, &act, 0) == -1) {
|
H A D | 4-88.c | 10 that attempting to add SIGSTOP to the signal mask of SIGPIPE will 33 if (sigaction(SIGPIPE, &act, 0) == -1) {
|
H A D | 17-10.c | 10 errno set to EINTR if a handler for the SIGPIPE signal is setup with 32 printf("Caught SIGPIPE\n"); 48 sigaction(SIGPIPE, &act, 0); 67 process sending the SIGPIPE signal, and the 82 kill(pid, SIGPIPE);
|
H A D | 18-10.c | 24 * -> register a handler for SIGPIPE without SA_SIGINFO, and a known function 26 * -> raise SIGPIPE, and check the function has been called. 79 #define SIGNAL SIGPIPE 111 /* Install the signal handler for SIGPIPE */ 128 UNRESOLVED( ret, "Failed to raise SIGPIPE" );
|
H A D | 19-10.c | 25 * -> register a handler for SIGPIPE with SA_SIGINFO, and a known function 27 * -> raise SIGPIPE, and check the function has been called. 80 #define SIGNAL SIGPIPE 128 /* Install the signal handler for SIGPIPE */ 145 UNRESOLVED( ret, "Failed to raise SIGPIPE" );
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/signal_h/ |
H A D | 13-1.c | 20 (0 == SIGPIPE) ||
|
H A D | 14-1.c | 17 int dummy11 = SIGPIPE;
|
/haiku-fatelf/src/bin/bash/builtins/ |
H A D | psize.c | 69 signal (SIGPIPE, sigpipe);
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | write.c | 26 /* On native Windows platforms, SIGPIPE does not exist. When write() is 51 /* Try to raise signal SIGPIPE. */ 52 raise (SIGPIPE);
|
H A D | siglist.h | 58 #ifdef SIGPIPE 59 init_sig (SIGPIPE, "PIPE", N_("Broken pipe"))
|
/haiku-fatelf/src/bin/less/ |
H A D | lsystem.c | 321 #ifdef SIGPIPE 322 LSIGNAL(SIGPIPE, SIG_IGN); 352 #ifdef SIGPIPE 353 LSIGNAL(SIGPIPE, SIG_DFL);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaddset/ |
H A D | 1-3.c | 38 signallist[10] = SIGPIPE;
|