Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 22 of 22) sorted by relevance

/bionic/libc/bionic/
Dsiginterrupt.c32 int siginterrupt(int sig, int flag) in siginterrupt() argument
36 (void) sigaction(sig, NULL, &act); in siginterrupt()
43 return sigaction(sig, &act, NULL); in siginterrupt()
Dsigset.cpp32 sighandler_t sigset(int sig, sighandler_t disp) { in sigset() argument
41 if (sigaction(sig, disp == SIG_HOLD ? nullptr : &new_sa, &old_sa) == -1) { in sigset()
47 sigaddset(&new_proc_mask, sig); in sigset()
55 return sigismember(&old_proc_mask, sig) ? SIG_HOLD : old_sa.sa_handler; in sigset()
Dsigpause.cpp31 int sigpause(int sig) { in sigpause() argument
34 if (sigdelset(&set, sig) == -1) return -1; in sigpause()
Dsighold.cpp31 int sighold(int sig) { in sighold() argument
34 if (sigaddset(&set, sig) == -1) return -1; in sighold()
Dsigrelse.cpp31 int sigrelse(int sig) { in sigrelse() argument
34 if (sigaddset(&set, sig) == -1) return -1; in sigrelse()
Draise.cpp34 int raise(int sig) { in raise() argument
39 return tgkill(pid, tid, sig); in raise()
Dsigignore.cpp32 int sigignore(int sig) { in sigignore() argument
37 return sigaction(sig, &sa, nullptr); in sigignore()
Dpthread_kill.cpp35 int pthread_kill(pthread_t t, int sig) { in pthread_kill() argument
41 return (tgkill(getpid(), tid, sig) == -1) ? errno : 0; in pthread_kill()
Dsigwait.cpp38 int sigwait(const sigset_t* set, int* sig) { in sigwait() argument
45 *sig = result; in sigwait()
Dndk_cruft.cpp230 int tkill(pid_t tid, int sig) { in tkill() argument
231 return syscall(__NR_tkill, tid, sig); in tkill()
/bionic/libc/include/sys/
Dwait.h49 #define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) argument
50 #define W_STOPCODE(sig) ((sig) << 8 | 0x7f) argument
/bionic/libc/upstream-openbsd/lib/libc/compat-43/
Dkillpg.c38 killpg(pid_t pgid, int sig) in killpg() argument
44 return (kill(-pgid, sig)); in killpg()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpsignal.c58 psignal(int sig, const char *s) in __weak_alias()
73 v->iov_base = __UNCONST(__strsignal((int)sig, buf, sizeof(buf))); in __weak_alias()
/bionic/libc/kernel/uapi/asm-mips/asm/
Dsignal.h27 unsigned long sig[_NSIG_WORDS]; member
/bionic/libc/kernel/uapi/asm-generic/
Dsignal.h92 unsigned long sig[_NSIG_WORDS]; member
/bionic/libc/include/
Dsignal.h153 int tgkill(int tgid, int tid, int sig) __INTRODUCED_IN_32(16);
/bionic/libc/
DSECCOMP_WHITELIST.TXT36 int rt_tgsigqueueinfo:int rt_tgsigqueueinfo(pid_t tgid, pid_t tid, int sig, siginfo_t *uinfo) all
44 int tkill:tkill(int tid, int sig) all
DSYSCALLS.TXT60 int tgkill(pid_t tgid, pid_t tid, int sig) all
/bionic/libc/kernel/uapi/linux/
Dsoundcard.h834 #define SEQ_TIME_SIGNATURE(sig) _TIMER_EVENT(TMR_TIMESIG, sig) argument
/bionic/tests/
Dgtest_main.cpp625 static void signal_handler(int sig) { in signal_handler() argument
626 if (sig == SIGINT) { in signal_handler()
628 } else if (sig == SIGQUIT) { in signal_handler()
Dpthread_test.cpp1410 static void getstack_signal_handler(int sig) { in getstack_signal_handler() argument
1411 ASSERT_EQ(SIGUSR1, sig); in getstack_signal_handler()
/bionic/libc/include/arpa/
Dnameser.h267 unsigned char sig[NS_PACKETSZ]; member