vcs_vc(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms