From 9d93986481b67a8135e57fc6400ca8c59f7375f6 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Fri, 14 Nov 2014 15:51:58 -0800 Subject: Add functions in sysinfo.h. Bug: 17703902 Change-Id: I699d12d76a8fc483c919be730c2ac63641b71a1d --- libc/include/sys/sysinfo.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'libc/include/sys/sysinfo.h') diff --git a/libc/include/sys/sysinfo.h b/libc/include/sys/sysinfo.h index c7e46e6..b66bc8e 100644 --- a/libc/include/sys/sysinfo.h +++ b/libc/include/sys/sysinfo.h @@ -33,7 +33,15 @@ __BEGIN_DECLS -extern int sysinfo (struct sysinfo *info); +int sysinfo(struct sysinfo* info); + +int get_nprocs_conf(void); + +int get_nprocs(void); + +long get_phys_pages(void); + +long get_avphys_pages(void); __END_DECLS -- cgit v1.1