summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-08-29 20:45:14 -0700
committerElliott Hughes <enh@google.com>2019-08-29 21:57:58 -0700
commit261bd745eeee4accb56084401b48947c98c8107c (patch)
tree6e68559b52d875c551a524d18041cf274bde9c35 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent9e544d3077fc392ce40e87a34a622bd327f09c7d (diff)
Support statvfs on API levels before 19.
Split statfs and statvfs. The former has been available forever, and the latter is implemented in terms of the former. The implementation has been moved into headers so that it can be used at low API levels. There's no reason for any Android or Linux code to use statvfs rather than statfs, but code that needs to build on Darwin too will want to use statvfs because Darwin's statfs is very spartan. Bug: https://github.com/android-ndk/ndk/issues/609 Test: treehugger Change-Id: Icf3d5723a260099fddb2d9f902e3047b0f041647
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions