set_selection_user(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🌈


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