Back to index

glibc  2.9
kernel_stat.h
Go to the documentation of this file.
00001 /* definition of "struct stat" from the kernel */
00002 struct kernel_stat {
00003        unsigned long st_dev;              /* dev_t is 32 bits on parisc */
00004        unsigned long st_ino;              /* 32 bits */
00005        unsigned short       st_mode;      /* 16 bits */
00006        unsigned short       st_nlink;     /* 16 bits */
00007        unsigned short       st_reserved1; /* old st_uid */
00008        unsigned short       st_reserved2; /* old st_gid */
00009        unsigned long st_rdev;
00010        unsigned long   st_size;
00011        struct timespec st_atim;
00012        struct timespec st_mtim;
00013        struct timespec st_ctim;
00014        long          st_blksize;
00015        long          st_blocks;
00016        unsigned long __unused1;    /* ACL stuff */
00017        unsigned long __unused2;    /* network */
00018        unsigned long __unused3;    /* network */
00019        unsigned long __unused4;    /* cnodes */
00020        unsigned short       __unused5;    /* netsite */
00021        short         st_fstype;
00022        unsigned long st_realdev;
00023        unsigned short       st_basemode;
00024        unsigned short       st_spareshort;
00025        unsigned long st_uid;
00026        unsigned long   st_gid;
00027        unsigned long st_spare4[3];
00028 };
00029 
00030 #define _HAVE_STAT_NSEC
00031 #define _HAVE_STAT64_NSEC