Searched refs:sigptr (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/write/ |
D | write04.c | 77 struct sigaction sigptr; /* set up signal handler */ in main() local 106 sigptr.sa_handler = (void (*)(int signal))alarm_handler; in main() 107 sigfillset(&sigptr.sa_mask); in main() 108 sigptr.sa_flags = 0; in main() 109 sigaddset(&sigptr.sa_mask, SIGALRM); in main() 110 if (sigaction(SIGALRM, &sigptr, NULL) == -1) { in main()
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap2.c | 166 struct sigaction sigptr; in main() local 229 sigptr.sa_handler = sig_handler; in main() 230 sigfillset(&sigptr.sa_mask); in main() 231 sigptr.sa_flags = 0; in main() 233 sigaddset(&sigptr.sa_mask, sig_info[sig_ndx].signum); in main() 234 if (sigaction(sig_info[sig_ndx].signum, &sigptr, in main()
|
D | shmat1.c | 400 struct sigaction sigptr; /* set up signal, for interval timer */ in main() local 448 sigptr.sa_handler = (void (*)(int signal))sig_handler; in main() 449 sigfillset(&sigptr.sa_mask); in main() 450 sigptr.sa_flags = SA_SIGINFO; in main() 452 sigaddset(&sigptr.sa_mask, sig_info[sig_ndx].signum); in main() 453 if (sigaction(sig_info[sig_ndx].signum, &sigptr, in main()
|
D | mmap1.c | 294 struct sigaction sigptr; in main() local 363 sigptr.sa_sigaction = sig_handler; in main() 364 sigfillset(&sigptr.sa_mask); in main() 365 sigdelset(&sigptr.sa_mask, SIGSEGV); in main() 366 sigptr.sa_flags = SA_SIGINFO | SA_NODEFER; in main() 369 if (sigaction(sig_info[i].signum, &sigptr, NULL) == -1) { in main()
|