fb_default_cmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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