Home
last modified time | relevance | path

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

/third_party/musl/porting/liteos_a/user/src/signal/
Dsigaction.c35 static sigactq_t g_sig_arr[DEFAULT_SIG_NUM]; variable
147 if (g_sig_arr[i].signo == sig) { in __sig_find_action()
148 return (g_sig_arr + i); in __sig_find_action()
182 …if (!g_sig_arr[i].ign_flag && g_sig_arr[i].signo == receivedSigno && g_sig_arr[i].act.sa_handler) { in __sig_operation()
185 sigprocmask(SIG_BLOCK, &g_sig_arr[i].act.sa_mask, NULL); in __sig_operation()
186 (*g_sig_arr[i].act.sa_handler)(g_sig_arr[i].signo); in __sig_operation()
203 g_sig_arr[i].signo = (unsigned char)sig_default_action[i].singNo; in __sig_add_def_action()
204 g_sig_arr[i].act.sa_handler = sig_default_action[i].action; in __sig_add_def_action()
205 sigemptyset(&g_sig_arr[i].act.sa_mask); in __sig_add_def_action()
206 g_sig_arr[i].act.sa_flags = sig_default_action[i].flag; in __sig_add_def_action()
[all …]