SDL_GetSystemRAM - Get the amount of RAM configured in the system.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_GetSystemRAM(3)
Name
SDL_GetSystemRAM - Get the amount of RAM configured in the system.
Return Value
Returns the amount of RAM configured in the system in MiB.
Synopsis
#include<SDL3/SDL_cpuinfo.h>intSDL_GetSystemRAM(void);
Thread Safety
It is safe to call this function from any thread.
