diff options
author | Rich Felker <dalias@aerifal.cx> | 2024-05-07 08:58:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-05-07 08:58:45 -0400 |
commit | 0dfa1d8caadb7b308740d7695b592c207bfad543 (patch) | |
tree | a01ae0d03f3c60dbb065082f6a33d83818897e04 /arch/generic/bits/stat.h | |
parent | ef600888d2916a2c7b7f2ec3bfa1e18997121b12 (diff) | |
download | musl-0dfa1d8caadb7b308740d7695b592c207bfad543.zip musl-0dfa1d8caadb7b308740d7695b592c207bfad543.tar.gz musl-0dfa1d8caadb7b308740d7695b592c207bfad543.tar.bz2 |
unify bits/stat.h for all archs sharing a common definition
future archs should not define their own bits/stat.h but use this
generic one.
Diffstat (limited to 'arch/generic/bits/stat.h')
-rw-r--r-- | arch/generic/bits/stat.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/generic/bits/stat.h b/arch/generic/bits/stat.h new file mode 100644 index 0000000..f6d9e86 --- /dev/null +++ b/arch/generic/bits/stat.h @@ -0,0 +1,18 @@ +struct stat { + dev_t st_dev; + ino_t st_ino; + mode_t st_mode; + nlink_t st_nlink; + uid_t st_uid; + gid_t st_gid; + dev_t st_rdev; + unsigned long long __pad; + off_t st_size; + blksize_t st_blksize; + int __pad2; + blkcnt_t st_blocks; + struct timespec st_atim; + struct timespec st_mtim; + struct timespec st_ctim; + unsigned __unused[2]; +}; |