Blame sysdeps/unix/sysv/linux/alpha/kernel_stat.h
|
Packit |
6c4009 |
/* Definition of `struct stat' used in the kernel. */
|
|
Packit |
6c4009 |
struct kernel_stat
|
|
Packit |
6c4009 |
{
|
|
Packit |
6c4009 |
unsigned int st_dev;
|
|
Packit |
6c4009 |
unsigned int st_ino;
|
|
Packit |
6c4009 |
unsigned int st_mode;
|
|
Packit |
6c4009 |
unsigned int st_nlink;
|
|
Packit |
6c4009 |
unsigned int st_uid;
|
|
Packit |
6c4009 |
unsigned int st_gid;
|
|
Packit |
6c4009 |
unsigned int st_rdev;
|
|
Packit |
6c4009 |
long int st_size;
|
|
Packit |
6c4009 |
unsigned long int st_atime;
|
|
Packit |
6c4009 |
unsigned long int st_mtime;
|
|
Packit |
6c4009 |
unsigned long int st_ctime;
|
|
Packit |
6c4009 |
unsigned int st_blksize;
|
|
Packit |
6c4009 |
int st_blocks;
|
|
Packit |
6c4009 |
unsigned int st_flags;
|
|
Packit |
6c4009 |
unsigned int st_gen;
|
|
Packit |
6c4009 |
};
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
/* Definition of `struct stat64' used in the kernel. */
|
|
Packit |
6c4009 |
struct kernel_stat64
|
|
Packit |
6c4009 |
{
|
|
Packit |
6c4009 |
unsigned long st_dev;
|
|
Packit |
6c4009 |
unsigned long st_ino;
|
|
Packit |
6c4009 |
unsigned long st_rdev;
|
|
Packit |
6c4009 |
long st_size;
|
|
Packit |
6c4009 |
unsigned long st_blocks;
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
unsigned int st_mode;
|
|
Packit |
6c4009 |
unsigned int st_uid;
|
|
Packit |
6c4009 |
unsigned int st_gid;
|
|
Packit |
6c4009 |
unsigned int st_blksize;
|
|
Packit |
6c4009 |
unsigned int st_nlink;
|
|
Packit |
6c4009 |
unsigned int __pad0;
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
unsigned long st_atime;
|
|
Packit |
6c4009 |
unsigned long st_atimensec;
|
|
Packit |
6c4009 |
unsigned long st_mtime;
|
|
Packit |
6c4009 |
unsigned long st_mtimensec;
|
|
Packit |
6c4009 |
unsigned long st_ctime;
|
|
Packit |
6c4009 |
unsigned long st_ctimensec;
|
|
Packit |
6c4009 |
long __glibc_reserved[3];
|
|
Packit |
6c4009 |
};
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
/* Definition of `struct stat' used by glibc 2.0. */
|
|
Packit |
6c4009 |
struct glibc2_stat
|
|
Packit |
6c4009 |
{
|
|
Packit |
6c4009 |
__dev_t st_dev;
|
|
Packit |
6c4009 |
__ino_t st_ino;
|
|
Packit |
6c4009 |
__mode_t st_mode;
|
|
Packit |
6c4009 |
__nlink_t st_nlink;
|
|
Packit |
6c4009 |
__uid_t st_uid;
|
|
Packit |
6c4009 |
__gid_t st_gid;
|
|
Packit |
6c4009 |
__dev_t st_rdev;
|
|
Packit |
6c4009 |
__off_t st_size;
|
|
Packit |
6c4009 |
__time_t st_atime;
|
|
Packit |
6c4009 |
__time_t st_mtime;
|
|
Packit |
6c4009 |
__time_t st_ctime;
|
|
Packit |
6c4009 |
unsigned int st_blksize;
|
|
Packit |
6c4009 |
int st_blocks;
|
|
Packit |
6c4009 |
unsigned int st_flags;
|
|
Packit |
6c4009 |
unsigned int st_gen;
|
|
Packit |
6c4009 |
};
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
/* Definition of `struct stat' used by glibc 2.1. */
|
|
Packit |
6c4009 |
struct glibc21_stat
|
|
Packit |
6c4009 |
{
|
|
Packit |
6c4009 |
__dev_t st_dev;
|
|
Packit |
6c4009 |
__ino64_t st_ino;
|
|
Packit |
6c4009 |
__mode_t st_mode;
|
|
Packit |
6c4009 |
__nlink_t st_nlink;
|
|
Packit |
6c4009 |
__uid_t st_uid;
|
|
Packit |
6c4009 |
__gid_t st_gid;
|
|
Packit |
6c4009 |
__dev_t st_rdev;
|
|
Packit |
6c4009 |
__off_t st_size;
|
|
Packit |
6c4009 |
__time_t st_atime;
|
|
Packit |
6c4009 |
__time_t st_mtime;
|
|
Packit |
6c4009 |
__time_t st_ctime;
|
|
Packit |
6c4009 |
__blkcnt64_t st_blocks;
|
|
Packit |
6c4009 |
__blksize_t st_blksize;
|
|
Packit |
6c4009 |
unsigned int st_flags;
|
|
Packit |
6c4009 |
unsigned int st_gen;
|
|
Packit |
6c4009 |
int __pad3;
|
|
Packit |
6c4009 |
long __glibc_reserved[4];
|
|
Packit |
6c4009 |
};
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#define XSTAT_IS_XSTAT64 1
|
|
Packit |
6c4009 |
#define STATFS_IS_STATFS64 0
|