1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef _ASMARM_STAT_H 8 #define _ASMARM_STAT_H 9 struct __old_kernel_stat { 10 unsigned short st_dev; 11 unsigned short st_ino; 12 unsigned short st_mode; 13 unsigned short st_nlink; 14 unsigned short st_uid; 15 unsigned short st_gid; 16 unsigned short st_rdev; 17 unsigned long st_size; 18 unsigned long st_atime; 19 unsigned long st_mtime; 20 unsigned long st_ctime; 21 }; 22 #define STAT_HAVE_NSEC 23 struct stat { 24 unsigned long st_dev; 25 unsigned long st_ino; 26 unsigned short st_mode; 27 unsigned short st_nlink; 28 unsigned short st_uid; 29 unsigned short st_gid; 30 unsigned long st_rdev; 31 unsigned long st_size; 32 unsigned long st_blksize; 33 unsigned long st_blocks; 34 unsigned long st_atime; 35 unsigned long st_atime_nsec; 36 unsigned long st_mtime; 37 unsigned long st_mtime_nsec; 38 unsigned long st_ctime; 39 unsigned long st_ctime_nsec; 40 unsigned long __unused4; 41 unsigned long __unused5; 42 }; 43 struct stat64 { 44 unsigned long long st_dev; 45 unsigned char __pad0[4]; 46 #define STAT64_HAS_BROKEN_ST_INO 1 47 unsigned long __st_ino; 48 unsigned int st_mode; 49 unsigned int st_nlink; 50 unsigned long st_uid; 51 unsigned long st_gid; 52 unsigned long long st_rdev; 53 unsigned char __pad3[4]; 54 long long st_size; 55 unsigned long st_blksize; 56 unsigned long long st_blocks; 57 unsigned long st_atime; 58 unsigned long st_atime_nsec; 59 unsigned long st_mtime; 60 unsigned long st_mtime_nsec; 61 unsigned long st_ctime; 62 unsigned long st_ctime_nsec; 63 unsigned long long st_ino; 64 }; 65 #endif 66