Lines Matching refs:el
114 sig_init(EditLine *el) in sig_init() argument
119 el->el_signal = el_malloc(sizeof(*el->el_signal)); in sig_init()
120 if (el->el_signal == NULL) in sig_init()
123 nset = &el->el_signal->sig_set; in sig_init()
131 el->el_signal->sig_action[i].sa_handler = SIG_ERR; in sig_init()
132 el->el_signal->sig_action[i].sa_flags = 0; in sig_init()
133 sigemptyset(&el->el_signal->sig_action[i].sa_mask); in sig_init()
146 sig_end(EditLine *el) in sig_end() argument
149 el_free(el->el_signal); in sig_end()
150 el->el_signal = NULL; in sig_end()
158 sig_set(EditLine *el) in sig_set() argument
168 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_set()
174 el->el_signal->sig_action[i] = osa; in sig_set()
176 sel = el; in sig_set()
185 sig_clr(EditLine *el) in sig_clr() argument
190 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_clr()
193 if (el->el_signal->sig_action[i].sa_handler != SIG_ERR) in sig_clr()
195 &el->el_signal->sig_action[i], NULL); in sig_clr()