]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/h8300/bits/kernel_stat.h
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / h8300 / bits / kernel_stat.h
1 #ifndef _BITS_STAT_STRUCT_H
2 #define _BITS_STAT_STRUCT_H
3
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... */
7
8 struct kernel_stat {
9         unsigned short st_dev;
10         unsigned short __pad1;
11         unsigned long st_ino;
12         unsigned short st_mode;
13         unsigned short st_nlink;
14         unsigned short st_uid;
15         unsigned short st_gid;
16         unsigned short st_rdev;
17         unsigned short __pad2;
18         unsigned long  st_size;
19         unsigned long  st_blksize;
20         unsigned long  st_blocks;
21         struct timespec st_atim;
22         struct timespec st_mtim;
23         struct timespec st_ctim;
24         unsigned long  __unused4;
25         unsigned long  __unused5;
26 };
27
28 struct kernel_stat64 {
29         unsigned long long st_dev;
30         unsigned char   __pad1[2];
31 #define _HAVE_STAT64___ST_INO
32         unsigned long   __st_ino;
33         unsigned int    st_mode;
34         unsigned int    st_nlink;
35         unsigned long   st_uid;
36         unsigned long   st_gid;
37         unsigned short  st_rdev;
38         unsigned char   __pad3[10];
39         long long       st_size;
40         unsigned long   st_blksize;
41         unsigned long   st_blocks;      /* Number 512-byte blocks allocated. */
42         unsigned long   __pad4;         /* future possible st_blocks high bits */
43         struct timespec st_atim;
44         struct timespec st_mtim;
45         struct timespec st_ctim;
46         unsigned long long      st_ino;
47 };
48
49 #endif  /*  _BITS_STAT_STRUCT_H */
50