screen_info_resources(9)
π NAME π
okay so this is the screen_info_resources(9) page from the Kernel API Manual, and the whole vibe is: screen_info_resources β Get resources from screen_info structure. π₯οΈβ¨
πΈ SYNOPSIS πΈ
ssize_t screen_info_resources (const struct screen_info *si , struct resource *r , size_t num );
π ARGUMENTS π
siβ thescreen_infoπ₯οΈrβ pointer to an array ofresourcestructures πnumβ number of elements inr:
β RETURN β
The number of resources stored in r on success, or a negative errno code otherwise. β¨
π¦ DESCRIPTION π¦
A call to screen_info_resources returns the resources consumed by the screen_info's device or framebuffer. π₯οΈπ₯ The result is stored in the caller-supplied array r with up to num elements. The function returns the number of initialized elements. no cap.
π SEE ALSO π
- Kernel file
./drivers/video/screen_info_generic.c screen_info_pixel_format(9)
k that's it bestie π«Ά this page's source/version situation is ./drivers/video, dated October 2026. periodt. π
π¦ 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