vcs_vc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual πŸ’– this page is all about vcs_vc, and it’s short but iconic.

✨ NAME ✨

vcs_vc β€” return VC for @inode πŸŽ€

🌸 SYNOPSIS 🌸

struct vc_data * vcs_vc (struct inode *inode , bool *viewed );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • inode β€” inode for which to return a VC ✨
  • viewed β€” returns whether this console is currently foreground (viewed) πŸ‘€

πŸ’… DESCRIPTION πŸ’…

Must be called with console_lock. no cap, that’s the vibe check πŸ”’

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/tty/vt/vc_screen.c πŸ“
  • vcs_size(9) 🧚

signed, sealed, and delivered from source/version ./drivers/tty/vt, dated October 2026 πŸ’œπŸŽ€πŸ«Ά

πŸ“¦ where this page comes from