is_continuation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… is_continuation(9) β€” the multibyte check bestie

okay so this whole page lives in the Kernel API Manual, and the star of the show is is_continuation(9) β€” literally a tiny little multibyte check and honestly? she's iconic for how much she does with so little. ✨


🌸 NAME 🌸

is_continuation β€” multibyte check πŸŽ€

Like, that's it. That's the whole pitch. A check. For multibyte stuff. Slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

int is_continuation (u8 c , const struct tty_struct *tty );

That's the whole signature, no cap β€” one int coming back at you, a u8 c going in, and a const struct tty_struct *tty riding along. πŸ’–


✨ ARGUMENTS ✨

  • c β€” the byte you're checking πŸ‘€ just a lil byte, that's all she is
  • tty β€” the terminal device, aka the whole vibe context for this check πŸ–₯️

🫢 RETURN 🫢

It returns true when both of these things are true, fr fr:

  1. the utf8 character c is a multibyte continuation character, and
  2. the terminal is in unicode mode 🌈

Like, both conditions or it's not giving. Periodt. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Okay bestie, buckle up, because this list is long and every single one of these is part of the family 🧚 β€” all of them live in the kernel file ./drivers/tty/n_tty.c:

iykyk πŸ”₯ that's a whole friend group right there.


πŸ’‘ friendly reminder: the kernel file reference is ./drivers/tty/n_tty.c and the man page source dir is ./drivers/tty β€” write those down, bestie, you'll want them.

and that's the page!! 🌸 coming at you from ./drivers/tty, dated October 2026, signed off as is_continuation(9) β€” go check those continuation characters, ily, bye πŸ’œπŸ¦‹

πŸ“¦ where this page comes from