iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git] / src / osdep / signals.h
blob1742df056943235628fb855abbbe9a2aa2298edf
1 /* Signals handling. */
3 #ifndef EL__OSDEP_SIGNALS_H
4 #define EL__OSDEP_SIGNALS_H
6 struct terminal;
8 #define NUM_SIGNALS 32
10 extern volatile int critical_section;
12 void install_signal_handler(int, void (*)(void *), void *, int);
13 void set_sigcld(void);
14 void sig_ctrl_c(struct terminal *term);
15 void clear_signal_mask_and_handlers(void);
16 void uninstall_alarm(void);
17 void handle_basic_signals(struct terminal *term);
18 void unhandle_terminal_signals(struct terminal *term);
19 int check_signals(void);
21 #endif /* EL__LOWLEVEL_SIGNALS_H */