1 #include "android/utils/file_io.h" 2 3 // Set of redefines for posix file calls. These redirects 4 // will make the windows posix calls unicode compliant. 5 #define fopen(path, mode) android_fopen( (path), (mode) ) 6 #define popen(path, mode) android_popen( (path), (mode) ) 7 #define stat(path, buf) android_stat( (path), (buf)) 8 #define lstat(path, buf) android_lstat ( (path), (buf) ) 9 #define access(path, mode) android_access( (path), (mode)) 10 #define mkdir(path, mode) android_mkdir( (path), (mode)) 11 #define mkdir(path) android_mkdir( (path), 0755) 12 #define creat(path, mode) android_creat( (path), (mode)) 13 #define unlink(path) android_unlink((path)) 14 #define chmod(path, mode) android_chmod( (path), (mode)) 15 #define rmdir(path) android_rmdir((path)) 16