OSDN Git Service

9fcbc031a694d7a89cb7e8c051b4deb5a615a065
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / alpha / bits / kernel_stat.h
1 #ifndef _BITS_STAT_STRUCT_H
2 #define _BITS_STAT_STRUCT_H
3
4 #ifndef _LIBC
5 #error bits/kernel_stat.h is for internal uClibc use only!
6 #endif
7
8 /* This file provides whatever this particular arch's kernel thinks 
9  * struct kernel_stat should look like...  It turns out each arch has a 
10  * different opinion on the subject... */
11 struct kernel_stat {
12         unsigned int    st_dev;
13         unsigned int    st_ino;
14         unsigned int    st_mode;
15         unsigned int    st_nlink;
16         unsigned int    st_uid;
17         unsigned int    st_gid;
18         unsigned int    st_rdev;
19         long int                st_size;
20         unsigned long   st_atime;
21         unsigned long   st_mtime;
22         unsigned long   st_ctime;
23         unsigned int    st_blksize;
24         int             st_blocks;
25         unsigned int    st_flags;
26         unsigned int    st_gen;
27 };
28
29 struct kernel_stat64 {
30         unsigned long   st_dev;
31         unsigned long   st_ino;
32         unsigned long   st_rdev;
33         long            st_size;
34         unsigned long   st_blocks;
35
36         unsigned int    st_mode;
37         unsigned int    st_uid;
38         unsigned int    st_gid;
39         unsigned int    st_blksize;
40         unsigned int    st_nlink;
41         unsigned int    __pad0;
42
43         unsigned long   st_atime;
44         unsigned long   st_atimensec;
45         unsigned long   st_mtime;
46         unsigned long   st_mtimensec;
47         unsigned long   st_ctime;
48         unsigned long   st_ctimensec;
49         long            __unused[3];
50 };
51
52 #endif  /*  _BITS_STAT_STRUCT_H */