summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
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)
+*/