Searched refs:oldact (Results 1 – 3 of 3) sorted by relevance
| /trueos/contrib/ntp/libntp/ |
| HD | machines.c | 216 struct sigaction oldact; /* SIGALRM state saved by setitimer */ member 244 sigaction(SIGALRM, &setitimer_mpe_ctx.oldact, NULL); in setitimer_mpe_handler() 249 if (setitimer_mpe_ctx.oldact.sa_handler != SIG_DFL && in setitimer_mpe_handler() 250 setitimer_mpe_ctx.oldact.sa_handler != SIG_ERR && in setitimer_mpe_handler() 251 setitimer_mpe_ctx.oldact.sa_handler != SIG_IGN) in setitimer_mpe_handler() 252 (*setitimer_mpe_ctx.oldact.sa_handler)(SIGALRM); in setitimer_mpe_handler() 299 if (sigaction(SIGALRM, NULL, &setitimer_mpe_ctx.oldact) < 0) { in setitimer() 307 newact.sa_mask = setitimer_mpe_ctx.oldact.sa_mask; in setitimer() 308 newact.sa_flags = setitimer_mpe_ctx.oldact.sa_flags; in setitimer()
|
| /trueos/lib/libkse/thread/ |
| HD | thr_sigaction.c | 46 struct sigaction newact, oldact; in _sigaction() local 63 oldact = _thread_sigact[sig - 1]; in _sigaction() 102 _thread_sigact[sig - 1] = oldact; in _sigaction() 116 *oact = oldact; in _sigaction()
|
| /trueos/lib/libthr/thread/ |
| HD | thr_sig.c | 520 struct sigaction newact, oldact, oldact2; in __thr_sigaction() local 557 ret = __sys_sigaction(sig, &newact, &oldact); in __thr_sigaction() 563 ret = __sys_sigaction(sig, NULL, &oldact); in __thr_sigaction() 567 if (oldact.sa_handler != SIG_DFL && oldact.sa_handler != SIG_IGN) { in __thr_sigaction() 569 oldact = oldact2; in __thr_sigaction() 571 oldact = usa->sigact; in __thr_sigaction() 579 *oact = oldact; in __thr_sigaction()
|