summaryrefslogtreecommitdiff
path: root/src/sysdeps/trystatimespec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trystatimespec.c')
-rw-r--r--src/sysdeps/trystatimespec.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sysdeps/trystatimespec.c b/src/sysdeps/trystatimespec.c
new file mode 100644
index 0000000..2690d57
--- /dev/null
+++ b/src/sysdeps/trystatimespec.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <sys/stat.h>
+#include <time.h>
+
+struct stat st ;
+struct timespec *tsa = &st.st_atimespec ;
+struct timespec *tsm = &st.st_mtimespec ;
+struct timespec *tsc = &st.st_ctimespec ;