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 kernel_stat should look like... It turns out each arch has a
6 * different opinion on the subject... */
12 unsigned int st_nlink
;
15 unsigned long st_rdev
;
17 unsigned long st_blksize
;
18 unsigned long st_blocks
;
19 struct timespec st_atim
;
20 struct timespec st_mtim
;
21 struct timespec st_ctim
;
22 unsigned long __unused4
;
23 unsigned long __unused5
;
26 struct kernel_stat64
{
27 unsigned long long st_dev
; /* Device */
28 unsigned long long st_ino
; /* File serial number */
29 unsigned int st_mode
; /* File mode. */
30 unsigned int st_nlink
; /* Link count. */
31 unsigned int st_uid
; /* User ID of the file's owner. */
32 unsigned int st_gid
; /* Group ID of the file's group. */
33 unsigned long long st_rdev
; /* Device number, if device. */
34 long long st_size
; /* Size of file, in bytes. */
35 unsigned long st_blksize
; /* Optimal block size for I/O. */
36 unsigned long __uclibc_unused2
;
37 unsigned long long st_blocks
; /* Number 512-byte blocks allocated. */
38 struct timespec st_atim
; /* Time of last access. */
39 struct timespec st_mtim
; /* Time of last modification. */
40 struct timespec st_ctim
; /* Time of last status change. */
41 unsigned long __uclibc_unused4
;
42 unsigned long __uclibc_unused5
;
45 #endif /* _BITS_STAT_STRUCT_H */