diff options
| author | Yabin Cui <yabinc@google.com> | 2014-11-14 15:51:58 -0800 |
|---|---|---|
| committer | Yabin Cui <yabinc@google.com> | 2014-11-14 16:22:48 -0800 |
| commit | 9d93986481b67a8135e57fc6400ca8c59f7375f6 (patch) | |
| tree | f73d192d6191ef495a63be7fc27130190ba9e79d /libc/include/sys/sysinfo.h | |
| parent | 661423a453b2692d592df56307a876dfc35c50f2 (diff) | |
| download | bionic-9d93986481b67a8135e57fc6400ca8c59f7375f6.zip bionic-9d93986481b67a8135e57fc6400ca8c59f7375f6.tar.gz bionic-9d93986481b67a8135e57fc6400ca8c59f7375f6.tar.bz2 | |
Add functions in sysinfo.h.
Bug: 17703902
Change-Id: I699d12d76a8fc483c919be730c2ac63641b71a1d
Diffstat (limited to 'libc/include/sys/sysinfo.h')
| -rw-r--r-- | libc/include/sys/sysinfo.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 |
