Man page - sdl_getsystemram(3)

Packages contas this manual

Manual

SDL_GetSystemRAM(3) SDL3 FUNCTIONS SDL_GetSystemRAM(3)

SDL_GetSystemRAM - Get the amount of RAM configured in the system.

Defined in SDL3/SDL_cpuinfo.h

#include "SDL3/SDL.h"
int SDL_GetSystemRAM(void);

Returns the amount of RAM configured in the system in MiB.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer