mirror of
git://git.musl-libc.org/musl
synced 2024-12-16 19:55:38 +00:00
fa7d4218c7
now that we have a kstat structure decoupled from the public struct stat, we can just use the broken kernel structures directly and let the code in fstatat do the translation.
23 lines
385 B
C
23 lines
385 B
C
struct kstat {
|
|
unsigned st_dev;
|
|
long __pad1[3];
|
|
ino_t st_ino;
|
|
mode_t st_mode;
|
|
nlink_t st_nlink;
|
|
uid_t st_uid;
|
|
gid_t st_gid;
|
|
unsigned st_rdev;
|
|
long __pad2[3];
|
|
off_t st_size;
|
|
long st_atime_sec;
|
|
long st_atime_nsec;
|
|
long st_mtime_sec;
|
|
long st_mtime_nsec;
|
|
long st_ctime_sec;
|
|
long st_ctime_nsec;
|
|
blksize_t st_blksize;
|
|
long __pad3;
|
|
blkcnt_t st_blocks;
|
|
long __pad4[14];
|
|
};
|