sparc64: add basic support
[uclibc-ng.git] / libc / sysdeps / linux / sparc64 / bits / kernel_stat.h
blobc45a595d5248831f74fe5e06fb4f1f65168ae153
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... */
8 struct kernel_stat {
9 unsigned int st_dev;
10 unsigned long st_ino;
11 unsigned short st_mode;
12 short st_nlink;
13 unsigned short st_uid;
14 unsigned short st_gid;
15 unsigned int st_rdev;
16 long st_size;
17 struct timespec st_atim;
18 struct timespec st_mtim;
19 struct timespec st_ctim;
20 long st_blksize;
21 long st_blocks;
22 unsigned long __unused4;
23 unsigned long __unused5;
26 struct kernel_stat64 {
27 unsigned long st_dev;
28 unsigned long st_ino;
29 unsigned long st_nlink;
30 unsigned int st_mode;
31 unsigned int st_uid;
32 unsigned int st_gid;
33 unsigned int __pad2;
34 unsigned long st_rdev;
35 long st_size;
36 long st_blksize;
37 long st_blocks;
38 struct timespec st_atim;
39 struct timespec st_mtim;
40 struct timespec st_ctim;
41 long __unused4;
42 long __unused5;
43 long __unused6;
46 #endif /* _BITS_STAT_STRUCT_H */