initial commit
[glibc.git] / sysdeps / unix / sysv / linux / sparc / sparc32 / kernel_stat.h
1 /* Definition of `struct stat' used in the kernel */
2 struct kernel_stat
3 {
4 unsigned short int st_dev;
5 unsigned long int st_ino;
6 unsigned short int st_mode;
7 short int st_nlink;
8 unsigned short int st_uid;
9 unsigned short int st_gid;
10 unsigned short int st_rdev;
11 long int st_size;
12 struct timespec st_atim;
13 struct timespec st_mtim;
14 struct timespec st_ctim;
15 long int st_blksize;
16 long int st_blocks;
17 unsigned long int __glibc_reserved4;
18 unsigned long int __glibc_reserved5;
19 };
20
21 #define _HAVE___UNUSED4
22 #define _HAVE___UNUSED5
23
24 #define _HAVE_STAT___UNUSED4
25 #define _HAVE_STAT___UNUSED5
26 #define _HAVE_STAT___PAD1
27 #define _HAVE_STAT___PAD2
28 #define _HAVE_STAT64___UNUSED4
29 #define _HAVE_STAT64___UNUSED5
30 #define _HAVE_STAT64___PAD2
31 #define _HAVE_STAT_NSEC
32 #define _HAVE_STAT64_NSEC
33
34 #define STAT_IS_KERNEL_STAT 0
35 #define STAT64_IS_KERNEL_STAT64 1
36 #define XSTAT_IS_XSTAT64 0
37 #define STATFS_IS_STATFS64 0