ffb_setcolreg(9)
π ffb_setcolreg(9) π
β¨ NAME β¨
okay so ffb_setcolreg β sets a color register. periodt. this one lives in the Kernel API Manual, and that's the whole name moment bestie π
π SYNOPSIS π
here's the exact signature, no cap:
int ffb_setcolreg (unsigned regno , unsigned red , unsigned green ,
unsigned blue , unsigned transp , struct fb_info *info );
π ARGUMENTS π
these are the args, every single one, no skips:
regnoβ boolean,0copy local,1get_user function. iykyk.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 π¦
the kernel file is ./drivers/video/fbdev/ffb.c β go peek at the related besties:
source/version: ./drivers/video/fbdev Β· date: October 2026 β mwah, mwah ππ
π¦ 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