Lines Matching refs:sig
54 int raise(int sig)
56 unsigned int ret = LOS_SignalSend(LOS_CurTaskIDGet(), sig);
64 void (*signal(int sig, void (*func)(int)))(int)
68 if (!OS_SIGNAL_VALID(sig)) {
73 h = LOS_SignalSet(sig, func);
90 int sigaction(int sig, const struct sigaction *act, struct sigaction *oldact)
94 if (!OS_SIGNAL_VALID(sig)) {
100 old = LOS_SignalSet(sig, act->sa_handler);
102 old = LOS_SignalSet(sig, NULL);
103 (void)LOS_SignalSet(sig, old);
113 int sigwait(const sigset_t *set, int *sig)
123 *sig = info.si_signo;
156 int pthread_kill(pthread_t pid, int sig)
158 unsigned int ret = LOS_SignalSend((unsigned int)pid, sig);
167 int kill(pid_t pid, int sig)
169 unsigned int ret = LOS_SignalSend((unsigned int)pid, sig);