Functions

/tmp/buildd/xz-utils-5.0.0/src/common/tuklib_physmem.c File Reference

Get the amount of physical memory. More...

#include "tuklib_physmem.h"

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.