Add cache related sysconf queries
authorTao Bao <tbao@google.com>
Thu, 4 Dec 2014 23:24:28 +0000 (15:24 -0800)
committerTao Bao <tbao@google.com>
Thu, 4 Dec 2014 23:24:28 +0000 (15:24 -0800)
commit1f40be97b16ff895a50f48ae8dd1745f57688b6b
tree90bf09026ded666938ba1c2682370fcbaa14d02c
parent6bec3484ee1e90662c8c5e52c71fcdc430a7b619
Add cache related sysconf queries

Several cache related queries are added, such as
_SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE and etc. For the
moment, we always return 0 for these queries.

Change-Id: I36f67af8128672d8c1eef49d6f2431cca5a94719
libc/bionic/sysconf.cpp
libc/include/sys/sysconf.h