The OpenD Programming Language

sysctl

Get the size of available physical memory

version(Darwin)
extern (C) @nogc nothrow
int
sysctl
(
const int* name
,
uint namelen
,
void* oldp
,
size_t* oldlenp
,
const void* newp
,
size_t newlen
)

Return Value

Type: int

size of installed physical RAM

Meta