]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/xz/src/common/tuklib_physmem.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / xz / src / common / tuklib_physmem.h
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       tuklib_physmem.h
4 /// \brief      Get the amount of physical memory
5 //
6 //  Author:     Lasse Collin
7 //
8 //  This file has been put into the public domain.
9 //  You can do whatever you want with this file.
10 //
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #ifndef TUKLIB_PHYSMEM_H
14 #define TUKLIB_PHYSMEM_H
15
16 #include "tuklib_common.h"
17 TUKLIB_DECLS_BEGIN
18
19 #define tuklib_physmem TUKLIB_SYMBOL(tuklib_physmem)
20 extern uint64_t tuklib_physmem(void);
21 ///<
22 /// \brief      Get the amount of physical memory in bytes
23 ///
24 /// \return     Amount of physical memory in bytes. On error, zero is
25 ///             returned.
26
27 TUKLIB_DECLS_END
28 #endif