File: kernel_stat.h

package info (click to toggle)
glibc 2.40-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292,840 kB
  • sloc: ansic: 1,038,938; asm: 239,498; makefile: 19,481; python: 13,369; sh: 11,472; cpp: 5,147; awk: 1,723; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (37 lines) | stat: -rw-r--r-- 953 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Definition of `struct stat' used in the kernel */
struct kernel_stat
  {
    unsigned short int st_dev;
    unsigned long int st_ino;
    unsigned short int st_mode;
    short int st_nlink;
    unsigned short int st_uid;
    unsigned short int st_gid;
    unsigned short int st_rdev;
    long int st_size;
    struct timespec st_atim;
    struct timespec st_mtim;
    struct timespec st_ctim;
    long int st_blksize;
    long int st_blocks;
    unsigned long int __glibc_reserved4;
    unsigned long int __glibc_reserved5;
  };

#define _HAVE___UNUSED4
#define _HAVE___UNUSED5

#define _HAVE_STAT___UNUSED4
#define _HAVE_STAT___UNUSED5
#define _HAVE_STAT___PAD1
#define _HAVE_STAT___PAD2
#define _HAVE_STAT64___UNUSED4
#define _HAVE_STAT64___UNUSED5
#define _HAVE_STAT64___PAD2
#define _HAVE_STAT_NSEC
#define _HAVE_STAT64_NSEC

#define STAT_IS_KERNEL_STAT 0
#define STAT64_IS_KERNEL_STAT64 1
#define XSTAT_IS_XSTAT64 0
#define STATFS_IS_STATFS64 0