xxxfb_cursor(9)
β¨ xxxfb_cursor (9) β¨
okay so bestie, welcome to the Kernel API Manual entry for xxxfb_cursor β yes it's a section 9 page, yes it's about framebuffers, yes we're doing this π
πΈ NAME πΈ
xxxfb_cursor β OPTIONAL. If your hardware lacks support for a cursor, leave this field NULL.
like, that's the whole vibe. no cursor hardware? no function. don't force it, queen π«Ά
π SYNOPSIS π
int xxxfb_cursor (struct fb_info *info , struct fb_cursor *cursor );
two args, one int coming back at you. that's it, that's the whole signature β¨
π¦ ARGUMENTS π¦
infoβ the frame buffer structure that represents a single frame buffer. literally the fb's whole identity, one struct, main character energy πcursorβ the structure defining the cursor to draw. this is where you tell it what the cursor should look like π―
π DESCRIPTION π
so this operation is used to set or alter the properities of the cursor. (yes, "properities", that's how it's spelled in the original and we are NOT fixing it, we respect the source π)
returns negative errno on error, or zero on success. so:
0= slay π- negative
errno= not slay π
ngl bestie, if your hardware can't do cursors at all, this whole thing is a no-op β see the NAME section: leave the field NULL. don't be out here calling a function that doesn't exist for your chip, it's giving undefined behaviour π
π SEE ALSO π
kernel file ./drivers/video/fbdev/skeletonfb.c and honestly the whole skeletonfb bestie squad:
xxxfb_open(9)xxxfb_release(9)xxxfb_check_var(9)xxxfb_set_par(9)xxxfb_setcolreg(9)xxxfb_pan_display(9)xxxfb_blank(9)xxxfb_fillrect(9)xxxfb_copyarea(9)xxxfb_imageblit(9)xxxfb_sync(9)xxxfb_suspend(9)xxxfb_resume(9)xxxfb_suspend(9)xxxfb_resume(9)
(yes, xxxfb_suspend(9) and xxxfb_resume(9) are listed twice. we're not going to pretend that didn't happen, but we're also not going to edit the manpage. it's iconic, it stays π«Ά)
that's the page, bestie!! ππ¦ source lives at ./drivers/video/fbdev and this whole thing is dated October 2026 β mwah, see you in the next manpage πβ¨π
π¦ 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