tty_get_icount(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

tty_get_icount β€” get tty statistics. Also hi bestie, you’re on the tty_get_icount(9) page from the Kernel API Manual 🫢.

🌸 SYNOPSIS 🌸

int tty_get_icount (struct tty_struct *tty , struct serial_icounter_struct *icount );

πŸŽ€ ARGUMENTS πŸŽ€

  • tty β€” tty device. The terminal-ish main character.
  • icount β€” output parameter. This is where the stats copy goes, iykyk.

πŸ’– DESCRIPTION πŸ’–

Okay so this function gets a copy of the tty’s icount statistics. That’s the vibe β€” no cap.

Locking: none (up to the driver). Literally none from this side; the driver has to handle its own business.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/tty/tty_io.c is the home base, and the whole SEE ALSO friend group is:

Mwah πŸ’‹ β€” source/version is ./drivers/tty, date October 2026, and this page is tty_get_icount(9). Bye bestie πŸ’…

πŸ“¦ where this page comes from