HomeSort by relevance Sort by last modified time
    Searched full:signal (Results 301 - 325 of 12319) sorted by null

<<11121314151617181920>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/signal/
2-1.c 8 This program tests the assertion that the signal shall be ignored
12 "myhandler" for SIGCHLD. Then another call to signal() is made about
19 #include <signal.h>
34 if (signal(SIGCHLD, myhandler) == SIG_ERR) {
35 perror("Unexpected error while using signal()");
39 if (signal(SIGCHLD, SIG_IGN) != myhandler) {
40 perror("Unexpected error while using signal()");
  /external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
signalbar.cpp 31 int signal; local
39 signal = 0 - (256 - index.data().toInt());
41 signal = index.data().toInt();
45 if (signal < opts.minimum)
47 else if (signal > opts.maximum)
50 opts.progress = signal;
52 opts.text = QString::number(signal) + " dBm";
  /external/libbrillo/brillo/
asynchronous_signal_handler.h 8 #include <signal.h>
22 // Sets up signal handlers for registered signals, and converts signal receipt
37 void RegisterHandler(int signal, const SignalHandler& callback) override;
38 void UnregisterHandler(int signal) override;
42 // that a signal was processed.
58 // A copy of the signal mask before the dispatcher starts, which will be
62 // Resets the given signal to its default behavior. Doesn't touch
64 BRILLO_PRIVATE void ResetSignal(int signal);
  /external/ltp/testcases/kernel/syscalls/sigprocmask/
sigprocmask01.c 25 * process's signal mask.
26 * Also, verify that sigpending() succeeds to store signal mask that are
32 * - sigpending() should succeed to store the signal mask of pending signal.
36 * Setup signal handling.
79 #include <signal.h>
86 void sig_handler(int sig); /* signal catching function */
93 struct sigaction sa_new; /* struct to hold signal info */
94 sigset_t set; /* signal set to hold signal lists *
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/raise/
4-1.c 13 * 1) Set up a signal handler for the signal that says we have caught the
14 * signal.
15 * 2) Call kill(getpid(), <signal under test>)
16 * 3) If signal handler was called, test passed.
17 * This test is only performed on one signal. All other signals are
21 #include <signal.h>
32 printf("Caught signal being tested!\n");
56 printf("Should have exited from signal handler\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpause/
1-1.c 8 This program verifies that sigpause() removes sig from the signal mask.
12 a second to set up for receiving a signal, and to suspend itself using
14 2. Have main() send the signal indicated by SIGTOTEST to the new thread,
16 to get to the signal handler.
25 #include <signal.h>
36 printf("signal was called\n");
65 printf("Test UNRESOLVED: Couldn't send signal to thread\n");
72 printf("Test FAILED: signal wasn't removed from signal mask\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
22-1.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGABRT with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGABRT
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-10.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGPIPE with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGPIPE
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-11.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGQUIT with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGQUIT
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-12.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGSEGV with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGSEGV
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-13.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGTERM with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGTERM
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-14.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGTSTP with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGTSTP
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-15.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGTTIN with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGTTIN
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-16.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGTTOU with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGTTOU
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-17.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGUSR1 with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGUSR1
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-18.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGUSR2 with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGUSR2
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-19.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGUSR2 with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGUSR2
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-2.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGUSR2 with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGUSR2
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-20.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGPROF with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGPROF
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-21.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGSYS with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGSYS
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-22.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGTRAP with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGTRAP
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-23.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGURG with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGURG
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-24.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGVTALRM with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGVTALRM
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-25.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGXCPU with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGXCPU
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]
22-26.c 10 that if the SA_NODEFER flag is set for a given signal, then when the
11 sa_sigaction signal-catching function is entered, then the signal that
12 was caught is not added to the signal mask by raising that signal in the
13 signal handler and verifying that the handler is reentered.
18 3. (child) Setup a signal handler for SIGXFSZ with SA_NODEFER set
21 5. (child, signal handler) increment handler count
22 6. (child, signal handler) if count is 1 then raise SIGXFSZ
23 7. (child, signal handler) if count is 1 then set error variabl
    [all...]

Completed in 178 milliseconds

<<11121314151617181920>>