mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-09 00:02:17 +03: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.
22 lines
363 B
C
22 lines
363 B
C
struct kstat {
|
|
unsigned st_dev;
|
|
int __pad1[3];
|
|
ino_t st_ino;
|
|
mode_t st_mode;
|
|
unsigned st_nlink;
|
|
uid_t st_uid;
|
|
gid_t st_gid;
|
|
unsigned st_rdev;
|
|
int __pad2[3];
|
|
off_t st_size;
|
|
int st_atime_sec;
|
|
int st_atime_nsec;
|
|
int st_mtime_sec;
|
|
int st_mtime_nsec;
|
|
int st_ctime_sec;
|
|
int st_ctime_nsec;
|
|
unsigned st_blksize;
|
|
unsigned __pad3;
|
|
blkcnt_t st_blocks;
|
|
};
|