docs(kernel/api): add documentation for FBIOGET_SCREEN_INFO

Add documentation for FBIOGET_SCREEN_INFO macro

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-02-19 19:47:10 +02:00
parent e960f9fcc8
commit 155f3bfab5
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -540,6 +540,17 @@ typedef struct FramebufferScreenInfo
__UINT32_TYPE__ Size;
} FramebufferScreenInfo;
/**
* @brief Get framebuffer screen info
*
* @code
* struct FramebufferScreenInfo info;
* int ioctl(fd, FBIOGET_SCREEN_INFO, &info);
* @endcode
*
* @param fd File descriptor of the framebuffer device
* @param info Pointer to the framebuffer screen info structure
*/
#define FBIOGET_SCREEN_INFO 0xf0
/**