XZ Utils  5.2.2
Macros | Functions
tuklib_physmem.h File Reference

Get the amount of physical memory. More...

#include "tuklib_common.h"

Macros

#define tuklib_physmem   TUKLIB_SYMBOL(tuklib_physmem)
 

Functions

uint64_t tuklib_physmem (void)
 Get the amount of physical memory in bytes. More...
 

Detailed Description

Get the amount of physical memory.

Function Documentation

§ tuklib_physmem()

uint64_t tuklib_physmem ( void  )

Get the amount of physical memory in bytes.

Returns
Amount of physical memory in bytes. On error, zero is returned.