set_selection_user(9)
π NAME π
okay so bestie, this is the set_selection_user(9) page from the Kernel API Manual β¨ and it is literally here to set the current selection. that's the whole name vibe, no cap π«Ά
πΈ SYNOPSIS πΈ
int set_selection_user (const struct tiocl_selection __user *sel ,
struct tty_struct *tty );
π ARGUMENTS π
selβ user selection info, aka the deets of the selection πttyβ the console tty, the terminal bestie in question π₯οΈ
π¦ DESCRIPTION π¦
so this function gets invoked by the ioctl handle for the vt layer β iykyk π
Locking: the entire selection process is managed under the console_lock π. it's a lot under the lock, but it's hardly a performance path, so don't come for it for being slow, bestie π
π SEE ALSO π
- Kernel file
./drivers/tty/vt/selection.c clear_selection(9)sel_loadlut(9)
mwah π this page is from ./drivers/tty/vt, dated October 2026, and is literally set_selection_user(9). byeee, slay your selection journey β¨π«Ά
π¦ 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