isig(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” signal
  • tty β€” 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:


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