tcx_setcolreg(9)
π tcx_setcolreg(9) β the Kernel API Manual, bestie edition π
Okay so this one's from the Kernel API Manual, and it's literally the glow-up guide for tcx_setcolreg β an optional function that sets a color register. Obsessed. Let's get into it β¨
πΈ NAME πΈ
tcx_setcolreg β optional function, sets a color register. That's it, that's the whole vibe. No cap π
β¨ SYNOPSIS β¨
int tcx_setcolreg (unsigned regno , unsigned red , unsigned green ,
unsigned blue , unsigned transp , struct fb_info *info );
Six args, one int return, main character energy all around π«Ά
π¦ ARGUMENTS π¦
regnoβ boolean,0copy local,1get_user function. Yep, that's what it says, we're just relaying the message πredβ frame buffer colormap structure πgreenβ the green value, which can be up to 16 bits wide πblueβ the blue value, which can be up to 16 bits wide πtranspβ if supported, the alpha value, which can be up to 16 bits wide π»infoβ frame buffer info structure ποΈ
Heads up bestie: every single one of those descriptions is verbatim from the manpage β I'm not out here guessing at behaviour, okay? π
π₯ SEE ALSO π₯
- Kernel file
./drivers/video/fbdev/tcx.c tcx_blank(9)
Go read them, iykyk πβ¨
And that's the whole page, bestie β no crumbs left π§π This lil dispatch came from ./drivers/video/fbdev and it's dated October 2026, which is giving time-travel slay πβ° Signed, sealed, delivered, periodt π
π
π¦ 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