ffb_fillrect(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

ffb_fillrect β€” bestie, this one literally draws a rectangle on the screen ✨

okay so this is section 9 of the Kernel API Manual (the kernel-internals girlies, iykyk) and it's giving "paint a box, but make it kernel space" πŸŽ€


✨ SYNOPSIS ✨

void ffb_fillrect (struct fb_info *info , const struct fb_fillrect *rect
);

no cap, that's the whole vibe β€” void return, two pointers, we're done 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • info β€” the frame buffer structure that represents a single frame buffer πŸ’– like, one struct = one frame buffer, that's the whole thing, that's her main character energy πŸ‘‘
  • rect β€” the structure defining the rectagle and operation 🌸 this is the one that tells you what box and what we're doing to it. she's the blueprint, fr fr
lowkey important: both of these are pointers, so you're passing the structs by reference β€” not me explaining that, that's just what the synopsis says πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/video/fbdev/ffb.c β€” the source itself, go read her, she ate πŸ”₯
  • ffb_copyarea(9) β€” the sibling that copies instead of fills
  • ffb_imageblit(9) β€” the one that blits images ✨
  • ffb_setcolreg(9) β€” colours, iconic
  • ffb_blank(9) β€” blanking, the calm-down function 🌈

and that's the whole page, bestie β€” short and slay πŸ’… go forth and fill those rects.

πŸ¦‹ written under ./drivers/video/fbdev, dated October 2026 β€” stan that timestamp, it's giving future girlie energy πŸŒΈπŸ’œ

πŸ“¦ where this page comes from