find

#/home/ryanel/SDK/bionicTestCase/property_benchmark.cpp:82:53: error: '__system_property_set_filename' was not declared in this scope
#make: *** [out/target/product/macallan/obj/EXECUTABLES/bionic-benchmarks_intermediates/property_benchmark.o] Error 1



#找本地哪个文件有
find . \( -path \*/.svn -o -path \*/.git  \) -prune -o -print | xargs grep __system_property_set_filename

#搜索文件
find /home/ -name _system_properties.h -print

#搜索文件并检查文件是否包含函数定义
find /home/ -name _system_properties.h -print |xargs grep __system_property_set_filename

你可能感兴趣的:(linux,find)