leo_setcolreg(9)
okay so this is leo_setcolreg(9), straight out of the Kernel API Manual π and we're gonna get you comfy with it, bestie.
π NAME π
leo_setcolreg β optional function. Sets a color register. slay.
β¨ SYNOPSIS β¨
int leo_setcolreg (unsigned regno , unsigned red , unsigned green ,
unsigned blue , unsigned transp , struct fb_info *info );
π ARGUMENTS π
regnoβ boolean,0copy local,1get_user function. yes, that's what it says, and yes, we're keeping it exactly like that π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.
π¦ SEE ALSO π¦
- Kernel file
./drivers/video/fbdev/leo.c leo_blank(9)
and that's the whole vibe check, bestie π«Ά this page lives under ./drivers/video/fbdev, dated October 2026, and it's literally leo_setcolreg(9) β iconic, no cap π
π¦ 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