Esempio n. 1
0
/// Respond to a winch signal by checking the terminal size.
static void handle_winch(int sig, siginfo_t *info, void *context) {
    UNUSED(info);
    UNUSED(context);
    if (reraise_if_forked_child(sig)) return;
    common_handle_winch(sig);
    default_handler(sig, 0, 0);
}
Esempio n. 2
0
/// Respond to a winch signal by checking the terminal size.
static void handle_winch(int sig, siginfo_t *info, void *context) {
    common_handle_winch(sig);
    default_handler(sig, 0, 0);
}