]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/sh64/bits/kernel_stat.h
Inital import
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / sh64 / bits / kernel_stat.h
1 /* Stat structure for Linux/sh64 */
2
3 #ifndef _BITS_STAT_STRUCT_H
4 #define _BITS_STAT_STRUCT_H
5
6 #ifndef _LIBC
7 #error bits/kernel_stat.h is for internal uClibc use only!
8 #endif
9
10 struct kernel_stat {
11         unsigned short st_dev;
12         unsigned short __pad1;
13         unsigned long st_ino;
14         unsigned short st_mode;
15         unsigned short st_nlink;
16         unsigned short st_uid;
17         unsigned short st_gid;
18         unsigned short st_rdev;
19         unsigned short __pad2;
20         unsigned long  st_size;
21         unsigned long  st_blksize;
22         unsigned long  st_blocks;
23         struct timespec st_atim;
24         struct timespec st_mtim;
25         struct timespec st_ctim;
26         unsigned long  __unused4;
27         unsigned long  __unused5;
28 };
29
30 struct kernel_stat64 {
31         unsigned short  st_dev;
32         unsigned char   __pad0[10];
33
34         unsigned long   st_ino;
35         unsigned int    st_mode;
36         unsigned int    st_nlink;
37
38         unsigned long   st_uid;
39         unsigned long   st_gid;
40
41         unsigned short  st_rdev;
42         unsigned char   __pad3[10];
43
44         long long       st_size;
45         unsigned long   st_blksize;
46
47         unsigned long   st_blocks;      /* Number 512-byte blocks allocated. */
48         unsigned long   __pad4;         /* future possible st_blocks high bits */
49
50         struct timespec st_atim;
51         struct timespec st_mtim;
52         struct timespec st_ctim;
53
54         unsigned long   __unused1;
55         unsigned long   __unused2;
56 };
57
58 #endif /* _BITS_STAT_STRUCT_H */
59