xxxfb_copyarea(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xxxfb_copyarea(9) β€” from the Kernel API Manual ✨

okay so bestie, we're doing the xxxfb_copyarea(9) page today, and honestly? it's a short one, you're gonna eat this up 🫢 it lives in the Kernel API Manual, it's all about copying pixels around, and it's like the friendliest little framebuffer callback you'll ever meet. let's go πŸ’…


πŸ’– NAME πŸ’–

xxxfb_copyarea β€” a REQUIRED function, no cap. if your hardware is non acclerated (their spelling, not mine 😭) and it's packed pixel based, you can totally use the generic routines instead. what does it do? it copies one area of the screen to another area. that's it. that's the gig ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void xxxfb_copyarea (struct fb_info *p , const struct fb_copyarea *area
);

yes the line break is real, we're keeping it verbatim, do not come for me πŸ™ˆ


πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” literally -- undescribed -- in the original 😭 the manpage just left this one blank, so that's what we're telling you. no description exists. iconic behaviour honestly.
  • area β€” a structure that provides the data you need to copy the framebuffer contents from one region to another. it's giving "the little map that tells you where the pixels go" πŸ—ΊοΈ

🌸 DESCRIPTION 🌸

this drawing operation copies a rectangular area from one area of the screen to another area. rectangle in, rectangle out, pixels relocated, everyone slays. main character energy for a memcpy with delusions of grandeur, but we love her πŸ’œ


🌈 SEE ALSO 🌈

kernel file: ./drivers/video/fbdev/skeletonfb.c β€” go read it, it's the whole vibe πŸ‘‘

and the whole fam, all together:

not me noticing xxxfb_suspend(9) and xxxfb_resume(9) show up twice in that list 😭 that's not a typo on my end, that's exactly what the page says, so I'm keeping both pairs. we don't edit the source, we respect the source πŸ’…

πŸ“ the sign-off πŸ“

this one's filed under ./drivers/video/fbdev and stamped October 2026, so jot that down in your notes app bestie πŸ“ mwah, go copy some areas, you're gonna do amazing, iykyk πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from