/external/ltp/testcases/kernel/syscalls/syslog/ |
D | syslogtst.c | 36 void sig_handler(int signal); 46 signal(SIGINT, sig_handler); in main() 47 signal(SIGTERM, sig_handler); in main() 48 signal(SIGHUP, sig_handler); in main() 49 signal(SIGABRT, sig_handler); in main() 50 signal(SIGSEGV, sig_handler); in main() 51 signal(SIGQUIT, sig_handler); in main() 304 void sig_handler(int signal) in sig_handler() function
|
/external/ltp/testcases/kernel/io/disktest/ |
D | signals.c | 53 void sig_handler(int sig) in sig_handler() function 55 void *sig_handler(void *arg) in sig_handler() 140 signal(SIGINT, sig_handler); in setup_sig_mask() 141 signal(SIGTERM, sig_handler); in setup_sig_mask() 142 signal(SIGUSR1, sig_handler); in setup_sig_mask() 158 pthread_create(&sig_thread, NULL, sig_handler, NULL); in setup_sig_mask()
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | posix_timers.c | 54 static void sig_handler(int nr) in sig_handler() function 100 signal(SIGVTALRM, sig_handler); in check_itimer() 102 signal(SIGPROF, sig_handler); in check_itimer() 104 signal(SIGALRM, sig_handler); in check_itimer() 162 signal(SIGALRM, sig_handler); in check_timer_create()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/ |
D | 3-2.c | 28 static void sig_handler() in sig_handler() function 50 act.sa_handler = sig_handler; in main() 64 sig_handler(); in main()
|
D | 3-1.c | 27 static void sig_handler() in sig_handler() function 43 act.sa_handler = sig_handler; in main()
|
/external/ltp/testcases/kernel/syscalls/sigaltstack/ |
D | sigaltstack01.c | 92 void sig_handler(int); /* signal catching function */ 119 act.sa_handler = (void (*)())sig_handler; in main() 188 act.sa_handler = (void (*)(int))sig_handler; in setup() 218 void sig_handler(int n) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/sigsuspend/ |
D | sigsuspend01.c | 92 void sig_handler(int sig); /* signal catching function */ 175 sa_new.sa_handler = sig_handler; in setup() 199 void sig_handler(int sig) in sig_handler() function
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap3.c | 119 static void sig_handler(int signal) in sig_handler() function 163 SAFE_SIGNAL(SIGALRM, sig_handler); in setup() 164 SAFE_SIGNAL(SIGBUS, sig_handler); in setup() 165 SAFE_SIGNAL(SIGSEGV, sig_handler); in setup()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap13.c | 57 static void sig_handler(int sig); 105 tst_sig(NOFORK, sig_handler, cleanup); in setup() 128 static void sig_handler(int sig) in sig_handler() function
|
D | mmap05.c | 65 static void sig_handler(int sig); 132 tst_sig(NOFORK, sig_handler, cleanup); in setup() 189 static void sig_handler(int sig) in sig_handler() function
|
D | mmap03.c | 69 static void sig_handler(int sig); 154 tst_sig(NOFORK, sig_handler, cleanup); in setup() 215 static void sig_handler(int sig) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/nanosleep/ |
D | nanosleep02.c | 45 static void sig_handler(); 145 if (signal(SIGINT, sig_handler) == SIG_ERR) { in setup() 151 static void sig_handler(void) in sig_handler() function
|
D | nanosleep03.c | 42 static void sig_handler(); 141 if (signal(SIGINT, sig_handler) == SIG_ERR) { in setup() 148 static void sig_handler(void) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/vfork/ |
D | vfork02.c | 87 void sig_handler(); /* signal catching function */ 177 if (signal(SIGUSR1, sig_handler) == SIG_ERR) { in setup() 213 void sig_handler(void) in sig_handler() function
|
/external/libedit/src/ |
D | sig.c | 61 private void sig_handler(int); 69 sig_handler(int signo) in sig_handler() function 164 nsa.sa_handler = sig_handler; in sig_set() 173 osa.sa_handler != sig_handler) in sig_set()
|
/external/ltp/testcases/kernel/syscalls/sigprocmask/ |
D | sigprocmask01.c | 86 void sig_handler(int sig); /* signal catching function */ 227 sa_new.sa_handler = sig_handler; in setup() 254 void sig_handler(int sig) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/munmap/ |
D | munmap01.c | 90 void sig_handler(); /* signal catching function */ 157 if (signal(SIGSEGV, sig_handler) == SIG_ERR) { in setup() 225 void sig_handler(void) in sig_handler() function
|
D | munmap02.c | 92 void sig_handler(); /* signal catching function */ 161 if (signal(SIGSEGV, sig_handler) == SIG_ERR) { in setup() 238 void sig_handler(void) in sig_handler() function
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/ |
D | 6-1.c | 27 void sig_handler() in sig_handler() function 43 act.sa_handler = sig_handler; in main()
|
/external/ltp/testcases/kernel/syscalls/pause/ |
D | pause01.c | 21 static void sig_handler(int sig LTP_ATTRIBUTE_UNUSED) in sig_handler() function 27 SAFE_SIGNAL(SIGINT, sig_handler); in do_child()
|
/external/ltp/testcases/kernel/controllers/cpuacct/ |
D | cpuacct_task.c | 32 static void sig_handler(int signo) in sig_handler() function 58 sa.sa_handler = sig_handler; in main()
|
/external/compiler-rt/test/tsan/ |
D | signal_cond.cc | 15 void sig_handler(int sig) { in sig_handler() function 35 signal(SIGUSR1, &sig_handler); in main()
|
/external/valgrind/memcheck/tests/ |
D | sigaltstack.c | 7 void sig_handler(int sig){ in sig_handler() function 33 act.sa_handler=&sig_handler; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/ |
D | 1-1.c | 40 static void sig_handler() in sig_handler() function 63 act.sa_handler = sig_handler; in fn_chld()
|
/external/ltp/testcases/kernel/syscalls/rt_sigsuspend/ |
D | rt_sigsuspend01.c | 48 static void sig_handler(int sig) in sig_handler() function 70 act.sa_handler = sig_handler; in main()
|