summaryrefslogtreecommitdiff
path: root/src/sys/stat/struct_stat.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 16:31:15 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 16:31:15 -0400
commit24a60ffba1893a3506a6ed15fd4b26479d966cf3 (patch)
tree5b3ead7c1110b58b6c32829c48cff79cc346121a /src/sys/stat/struct_stat.h
parent1c9b7df133f4130f7db4038d0b034418c5867ac1 (diff)
rename non-compiled files to *.h
Diffstat (limited to 'src/sys/stat/struct_stat.h')
-rw-r--r--src/sys/stat/struct_stat.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/sys/stat/struct_stat.h b/src/sys/stat/struct_stat.h
new file mode 100644
index 00000000..c825e561
--- /dev/null
+++ b/src/sys/stat/struct_stat.h
@@ -0,0 +1,23 @@
+#include <sys/stat.h>
+
+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;
+ off_t st_size;
+ #if 0
+ struct timespec st_atim;
+ struct timespec st_mtim;
+ struct timespec st_ctim;
+ blksize_t st_blksize;
+ blkcnt_t st_blocks;
+ #endif
+};
+
+/*
+POSIX(1)
+*/