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 __ASM_GENERIC_STAT_H 8 #define __ASM_GENERIC_STAT_H 9 #include <asm/bitsperlong.h> 10 #define STAT_HAVE_NSEC 1 11 struct stat { 12 unsigned long st_dev; 13 unsigned long st_ino; 14 unsigned int st_mode; 15 unsigned int st_nlink; 16 unsigned int st_uid; 17 unsigned int st_gid; 18 unsigned long st_rdev; 19 unsigned long __pad1; 20 long st_size; 21 int st_blksize; 22 int __pad2; 23 long st_blocks; 24 long st_atime; 25 unsigned long st_atime_nsec; 26 long st_mtime; 27 unsigned long st_mtime_nsec; 28 long st_ctime; 29 unsigned long st_ctime_nsec; 30 unsigned int __unused4; 31 unsigned int __unused5; 32 }; 33 #if __BITS_PER_LONG != 64 || defined(__ARCH_WANT_STAT64) 34 struct stat64 { 35 unsigned long long st_dev; 36 unsigned long long st_ino; 37 unsigned int st_mode; 38 unsigned int st_nlink; 39 unsigned int st_uid; 40 unsigned int st_gid; 41 unsigned long long st_rdev; 42 unsigned long long __pad1; 43 long long st_size; 44 int st_blksize; 45 int __pad2; 46 long long st_blocks; 47 int st_atime; 48 unsigned int st_atime_nsec; 49 int st_mtime; 50 unsigned int st_mtime_nsec; 51 int st_ctime; 52 unsigned int st_ctime_nsec; 53 unsigned int __unused4; 54 unsigned int __unused5; 55 }; 56 #endif 57 #endif 58