n_tty_receiv...ar_flow_ctrl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… n_tty_receiv...ar_flow_ctrl(9) πŸŽ€

okay bestie, this is a Kernel API Manual page, and yes the title is literally truncated like that β€” n_tty_receiv...ar_flow_ctrl(9) β€” we don't make the rules, we just slay within them ✨


🌸 NAME 🌸

n_tty_receive_char_flow_ctrl β€” receive flow control chars. that's it, that's the whole vibe. it receives them. flow control chars. πŸ’–


✨ SYNOPSIS ✨

bool n_tty_receive_char_flow_ctrl (struct tty_struct *tty , u8 c , bool
lookahead_done );

it gives you back a bool, bestie. remember that, it's important later. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • tty β€” terminal device. the whole terminal situation. the main character of the story ngl.
  • c β€” character. just a single lil u8 character, living its life.
  • lookahead_done β€” lookahead has processed this character already. so like, someone already did the homework on this one πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

okay so the actual job here: receive and process flow control character actions. that's the assignment, and it ate. πŸ”₯

here's the nuance though β€” in case lookahead for flow control chars already handled the character in advance to the normal receive, the actions are skipped during normal receive. like, no double-dipping, no doing it twice, we are not that girl. πŸ’€

and the return value, because you know we care:

it returns true if c is consumed as flow-control character β€” and when that happens, the character must not be treated as normal character. periodt. 🫢

🌈 SEE ALSO 🌈

Kernel file ./drivers/tty/n_tty.c β€” go read it, iykwim πŸ‘€


that's the whole page bestie, go be iconic with your tty chars πŸ’…

this cutie lives under ./drivers/tty, dated October 2026, and the manual footer is stamped n_tty_receiv...ar_flow_ctrl(9) right back at you πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from