mirror of
https://git.tukaani.org/xz.git
synced 2025-03-03 15:10:41 +00:00
28 lines
694 B
C
28 lines
694 B
C
// SPDX-License-Identifier: 0BSD
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
/// \file tuklib_physmem.h
|
|
/// \brief Get the amount of physical memory
|
|
//
|
|
// Author: Lasse Collin
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef TUKLIB_PHYSMEM_H
|
|
#define TUKLIB_PHYSMEM_H
|
|
|
|
#include "tuklib_common.h"
|
|
TUKLIB_DECLS_BEGIN
|
|
|
|
#define tuklib_physmem TUKLIB_SYMBOL(tuklib_physmem)
|
|
extern uint64_t tuklib_physmem(void);
|
|
///<
|
|
/// \brief Get the amount of physical memory in bytes
|
|
///
|
|
/// \return Amount of physical memory in bytes. On error, zero is
|
|
/// returned.
|
|
|
|
TUKLIB_DECLS_END
|
|
#endif
|