28 lines
585 B
C
28 lines
585 B
C
/*
|
|
* Copyright (C) 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#ifndef ISC_MEMINFO_H
|
|
#define ISC_MEMINFO_H 1
|
|
|
|
#include <isc/types.h>
|
|
|
|
#include <isc/lang.h>
|
|
|
|
ISC_LANG_BEGINDECLS
|
|
|
|
isc_uint64_t
|
|
isc_meminfo_totalphys(void);
|
|
/*%<
|
|
* Return total available physical memory in bytes, or 0 if this cannot
|
|
* be determined
|
|
*/
|
|
|
|
ISC_LANG_ENDDECLS
|
|
|
|
#endif /* ISC_MEMINFO_H */
|