Searched refs:SIGPIPE (Results 1 - 25 of 88) sorted by relevance

1234

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaction/
H A D3-10.c15 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 D1-10.c17 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 D22-10.c18 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 D25-10.c17 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 D8-11.c26 printf("Caught SIGPIPE\n");
32 raise(SIGPIPE);
46 sigaddset(&act.sa_mask, SIGPIPE);
56 if (sigaction(SIGPIPE, &act, 0) == -1) {
H A D13-10.c31 printf("Caught SIGPIPE\n");
52 if (sigaction(SIGPIPE, &act, 0) == -1) {
64 if (raise(SIGPIPE) == -1) {
H A D2-10.c14 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 D4-10.c16 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 D6-10.c9 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 D12-10.c32 printf("Caught SIGPIPE\n");
53 if (sigaction(SIGPIPE, &act, 0) == -1) {
73 if (raise(SIGPIPE) == -1) {
H A D12-36.c30 printf("Caught SIGPIPE\n");
51 if (sigaction(SIGPIPE, &act, 0) == -1) {
63 if (raise(SIGPIPE) == -1) {
H A D4-36.c16 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 D8-10.c31 printf("Caught SIGPIPE\n");
47 if (sigaction(SIGPIPE, &act, 0) == -1) {
63 if (raise(SIGPIPE) == -1) {
H A D4-62.c10 that attempting to add SIGKILL to the signal mask of SIGPIPE will
33 if (sigaction(SIGPIPE, &act, 0) == -1) {
H A D4-88.c10 that attempting to add SIGSTOP to the signal mask of SIGPIPE will
33 if (sigaction(SIGPIPE, &act, 0) == -1) {
H A D17-10.c10 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 D18-10.c24 * -> 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 D19-10.c25 * -> 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 D13-1.c20 (0 == SIGPIPE) ||
H A D14-1.c17 int dummy11 = SIGPIPE;
/haiku-fatelf/src/bin/bash/builtins/
H A Dpsize.c69 signal (SIGPIPE, sigpipe);
/haiku-fatelf/src/bin/coreutils/lib/
H A Dwrite.c26 /* On native Windows platforms, SIGPIPE does not exist. When write() is
51 /* Try to raise signal SIGPIPE. */
52 raise (SIGPIPE);
H A Dsiglist.h58 #ifdef SIGPIPE
59 init_sig (SIGPIPE, "PIPE", N_("Broken pipe"))
/haiku-fatelf/src/bin/less/
H A Dlsystem.c321 #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 D1-3.c38 signallist[10] = SIGPIPE;

Completed in 128 milliseconds

1234