isig(9)
isig(9) β Kernel API Manual π
okay bestie, welcome to the isig page. it's giving kernel tty energy, and honestly? kind of iconic. let's get into it π
πΈ NAME πΈ
isig β handle the ISIG optio
(yes, βoptioβ β that's literally what the page says, and I'm not fixing the lore, I'm preserving it π)
β¨ SYNOPSIS β¨
void isig (int sig , struct tty_struct *tty );
π§ ARGUMENTS π§
sigβ signalttyβ terminal
π DESCRIPTION π
okay so picture this: a signal is being sent because of terminal input. that's when isig gets called, bestie. it's called from the tty_driver.receive_buf path, so it's serialized β no chaotic parallel vibes here β¨
it performs input and output flush if !NOFLSH. in this context, the echo buffer is 'output'. the signal is processed first so it can alert any current readers or writers to discontinue and exit their i/o loops.
Locking: ctrl.lock
π¦ SEE ALSO π¦
Kernel file: ./drivers/tty/n_tty.c
the whole squad, no cap:
n_tty_kick_worker(9)n_tty_write_wakeup(9)put_tty_queue(9)reset_buffer_flags(9)n_tty_flush_buffer(9)is_utf8_continuation(9)is_continuation(9)do_output_char(9)process_output(9)process_output_block(9)__process_echoes(9)add_echo_byte(9)echo_move_back_col(9)echo_set_canon_col(9)echo_erase_tab(9)echo_char_raw(9)echo_char(9)finish_erasing(9)eraser(9)n_tty_receive_break(9)n_tty_receive_overrun(9)n_tty_receive_parity_error(9)n_tty_receive_char_flow_ctrl(9)n_tty_receive_char(9)n_tty_receive_buf_common(9)n_tty_set_termios(9)n_tty_close(9)n_tty_open(9)copy_from_read_buf(9)canon_copy_from_read_buf(9)job_control(9)n_tty_read(9)n_tty_write(9)n_tty_poll(9)n_tty_inherit_ops(9)
okay bye bestie π«Άπ the footer says source/version ./drivers/tty, date October 2026, and yeah, isig(9) again because it's the main character πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms