Back to index

glibc  2.9
kernel_stat.h
Go to the documentation of this file.
00001 /* Definition of `struct stat' used in the kernel */
00002 struct kernel_stat
00003   {
00004     unsigned int st_dev;
00005     unsigned long int st_ino;
00006     unsigned int st_mode;
00007     short int st_nlink;
00008     unsigned int st_uid;
00009     unsigned int st_gid;
00010     unsigned int st_rdev;
00011     long int st_size;
00012     long int st_atime_sec;
00013     long int st_mtime_sec;
00014     long int st_ctime_sec;
00015     long int st_blksize;
00016     long int st_blocks;
00017     unsigned long int __unused1;
00018     unsigned long int __unused2;
00019   };
00020 
00021 /* Definition of `struct stat64' used in the kernel.  */
00022 struct kernel_stat64
00023   {
00024     unsigned long int st_dev;
00025     unsigned long int st_ino;
00026     unsigned long int st_nlink;
00027 
00028     unsigned int st_mode;
00029     unsigned int st_uid;
00030     unsigned int st_gid;
00031     unsigned int __pad0;
00032 
00033     unsigned long int st_rdev;
00034     long int st_size;
00035     long int st_blksize;
00036     long int st_blocks;
00037 
00038     unsigned long int st_atime_sec;
00039     unsigned long int st_atime_nsec;
00040     unsigned long int st_mtime_sec;
00041     unsigned long int st_mtime_nsec;
00042     unsigned long int st_ctime_sec;
00043     unsigned long int st_ctime_nsec;
00044     long int __unused[3];
00045   };
00046 
00047 #define XSTAT_IS_XSTAT64 1