Searched refs:oldact (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.1-release/lib/libkse/thread/ |
H A D | thr_sigaction.c | 46 struct sigaction newact, oldact; local 63 oldact = _thread_sigact[sig - 1]; 102 _thread_sigact[sig - 1] = oldact; 116 *oact = oldact;
|
/freebsd-10.1-release/contrib/ntp/libntp/ |
H A D | machines.c | 219 struct sigaction oldact; /* SIGALRM state saved by setitimer */ member in struct:__anon130 247 sigaction(SIGALRM, &setitimer_mpe_ctx.oldact, NULL); 252 if (setitimer_mpe_ctx.oldact.sa_handler != SIG_DFL && 253 setitimer_mpe_ctx.oldact.sa_handler != SIG_ERR && 254 setitimer_mpe_ctx.oldact.sa_handler != SIG_IGN) 255 (*setitimer_mpe_ctx.oldact.sa_handler)(SIGALRM); 302 if (sigaction(SIGALRM, NULL, &setitimer_mpe_ctx.oldact) < 0) { 310 newact.sa_mask = setitimer_mpe_ctx.oldact.sa_mask; 311 newact.sa_flags = setitimer_mpe_ctx.oldact.sa_flags;
|
/freebsd-10.1-release/lib/libthr/thread/ |
H A D | thr_sig.c | 509 struct sigaction newact, oldact, oldact2; local 544 if ((ret = __sys_sigaction(sig, &newact, &oldact))) { 549 ret = __sys_sigaction(sig, NULL, &oldact); 553 if (oldact.sa_handler != SIG_DFL && 554 oldact.sa_handler != SIG_IGN) { 556 oldact = oldact2; 558 oldact = _thr_sigact[sig-1].sigact; 566 *oact = oldact;
|
Completed in 104 milliseconds