Man page - sdl_getsystemram(3)
Packages contains this manual
Manual
SDL_GetSystemRAM
NAMEHEADER FILE
SYNOPSIS
RETURN VALUE
THREAD SAFETY
AVAILABILITY
NAME
SDL_GetSystemRAM - Get the amount of RAM configured in the system.
HEADER FILE
Defined in SDL3/SDL_cpuinfo.h
SYNOPSIS
#include "SDL3/SDL.h"
int SDL_GetSystemRAM(void);
RETURN VALUE
Returns the amount of RAM configured in the system in MiB.
THREAD SAFETY
It is safe to call this function from any thread.
AVAILABILITY
This function is available since SDL 3.2.0.