XZ Utils  5.1.0alpha
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.

Detailed Description

Get the amount of physical memory.

Function Documentation

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.