about summary refs log tree commit diff
path: root/arch/loongarch64/bits/stat.h
diff options
context:
space:
mode:
authorHongliang Wang <wanghongliang@loongson.cn>2023-09-26 09:12:01 +0800
committerRich Felker <dalias@aerifal.cx>2024-02-16 09:33:10 -0500
commit522bd54edaa2fa404fd428f8ad0bcb0f0bec5639 (patch)
treedfe88361bcbbd17ac53b8af36cb52337f21095e9 /arch/loongarch64/bits/stat.h
parent4a16ddf53e7c634169d0a649782f8a724611f263 (diff)
downloadmusl-522bd54edaa2fa404fd428f8ad0bcb0f0bec5639.tar.gz
musl-522bd54edaa2fa404fd428f8ad0bcb0f0bec5639.tar.xz
musl-522bd54edaa2fa404fd428f8ad0bcb0f0bec5639.zip
add loongarch64 port
Author: Xiaojuan Zhai <zhaixiaojuan@loongson.cn>
Author: Meidan Li <limeidan@loongson.cn>
Author: Guoqi Chen <chenguoqi@loongson.cn>
Author: Xiaolin Zhao <zhaoxiaolin@loongson.cn>
Author: Fan peng <fanpeng@loongson.cn>
Author: Jiantao Shan <shanjiantao@loongson.cn>
Author: Xuhui Qiang <qiangxuhui@loongson.cn>
Author: Jingyun Hua <huajingyun@loongson.cn>
Author: Liu xue <liuxue@loongson.cn>
Author: Hongliang Wang <wanghongliang@loongson.cn>
Diffstat (limited to 'arch/loongarch64/bits/stat.h')
-rw-r--r--arch/loongarch64/bits/stat.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/loongarch64/bits/stat.h b/arch/loongarch64/bits/stat.h
new file mode 100644
index 00000000..b7f4221b
--- /dev/null
+++ b/arch/loongarch64/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 __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];
+};