summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-09 16:21:47 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-09 16:21:47 -0500
commite13d5206e9488fd630d00ffa609f6a3a9e2bf020 (patch)
tree88ce9d9d8284be40e076d49e2d4165b6ac66c8e0 /src/sys
parenta40472f280a03cd762f3e68d46438da4ad24b4ca (diff)
merge XOPEN identifiers
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/timeb/ftime.c10
-rw-r--r--src/sys/timeb/struct_timeb.c12
2 files changed, 22 insertions, 0 deletions
diff --git a/src/sys/timeb/ftime.c b/src/sys/timeb/ftime.c
new file mode 100644
index 00000000..ea1f60fb
--- /dev/null
+++ b/src/sys/timeb/ftime.c
@@ -0,0 +1,10 @@
+#include <sys/timeb.h>
+
+int ftime(struct timeb *tp)
+{
+ return 0;
+}
+
+/*
+XOPEN(400,700)
+*/
diff --git a/src/sys/timeb/struct_timeb.c b/src/sys/timeb/struct_timeb.c
new file mode 100644
index 00000000..90ba63c3
--- /dev/null
+++ b/src/sys/timeb/struct_timeb.c
@@ -0,0 +1,12 @@
+#include <sys/timeb.h>
+
+struct timeb {
+ time_t time;
+ unsigned short millitm;
+ short timezone;
+ short dstflag;
+};
+
+/*
+XOPEN(400,700)
+*/