The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
sysctl
rt
sys
darwin
osmemory
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
Source
See Implementation
rt
sys
darwin
osmemory
functions
isLowOnMem
sysctl
Get the size of available physical memory