fb_default_cmap(9)
π fb_default_cmap(9) π
bestie, you're reading the Kernel API Manual page for fb_default_cmap(9) β yes, manual name: Kernel API Manual π
β¨ NAME β¨
fb_default_cmap β get default colormap π
π SYNOPSIS π
okay so here's the signature, no cap:
const struct fb_cmap * fb_default_cmap (int len );
π«Ά ARGUMENTS π«Ά
lenβ size of palette for a depth π
πΈ DESCRIPTION πΈ
Gets the default colormap for a specific screen depth. len is the size of the palette for a particular screen depth β that's the whole vibe check β¨
Returns pointer to a frame buffer colormap structure π
π¦ SEE ALSO π¦
Kernel file ./drivers/video/fbdev/core/fbcmap.c β also go look at fb_alloc_cmap_gfp(9), fb_dealloc_cmap(9), fb_copy_cmap(9), fb_set_cmap(9), fb_invert_cmaps(9) π«Ά
source/version: ./drivers/video/fbdev/core β date: October 2026 β bye bestie, 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