]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/x86_64/bits/kernel_stat.h
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / x86_64 / bits / kernel_stat.h
1 /* Ripped from linux/include/asm-x86_64/stat.h
2  * and renamed 'struct stat' to 'struct kernel_stat' */
3
4 #ifndef _BITS_STAT_STRUCT_H
5 #define _BITS_STAT_STRUCT_H
6
7 struct kernel_stat {
8         unsigned long  st_dev;
9         unsigned long  st_ino;
10         unsigned long  st_nlink;
11
12         unsigned int   st_mode;
13         unsigned int   st_uid;
14         unsigned int   st_gid;
15         unsigned int   __pad0;
16         unsigned long  st_rdev;
17         long           st_size;
18         long           st_blksize;
19         long           st_blocks;    /* Number 512-byte blocks allocated. */
20
21         struct timespec st_atim;
22         struct timespec st_mtim;
23         struct timespec st_ctim;
24         long           __unused[3];
25 };
26
27 /* x86-64 stat64 is same as stat */
28 #define kernel_stat64 kernel_stat
29
30 #endif