ffb_fillrect(9)
π 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 fillsffb_imageblit(9)β the one that blits images β¨ffb_setcolreg(9)β colours, iconicffb_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
- 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