1 #ifndef _BITS_STAT_STRUCT_H
2 #define _BITS_STAT_STRUCT_H
4 /* This file provides whatever this particular arch's kernel thinks
5 * struct stat should look like... It turns out each arch has a
6 * different opinion on the subject... */
11 unsigned short st_mode
;
12 unsigned short st_nlink
;
13 unsigned short st_uid
;
14 unsigned short st_gid
;
15 unsigned short st_rdev
;
16 unsigned short __pad2
;
17 unsigned long st_size
;
18 unsigned long st_blksize
;
19 unsigned long st_blocks
;
20 struct timespec st_atim
;
21 struct timespec st_mtim
;
22 struct timespec st_ctim
;
23 unsigned long __uclibc_unused4
;
24 unsigned long __uclibc_unused5
;
27 struct kernel_stat64
{
28 unsigned long long st_dev
;
29 unsigned char __pad0
[4];
30 #define _HAVE_STAT64___ST_INO
31 unsigned long __st_ino
;
33 unsigned int st_nlink
;
36 unsigned short st_rdev
;
37 unsigned char __pad3
[10];
39 unsigned long st_blksize
;
40 unsigned long st_blocks
; /* Number 512-byte blocks allocated. */
41 unsigned long __pad4
; /* future possible st_blocks high bits */
42 struct timespec st_atim
;
43 struct timespec st_mtim
;
44 struct timespec st_ctim
;
45 unsigned long long st_ino
;
48 #endif /* _BITS_STAT_STRUCT_H */