|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT v2 2/8] lib/uktime: Import utime.h from musl
Copied as is from the official musl git mirror
git://git.musl-libc.org/musl, commit 6fcb440d.
Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
lib/uktime/musl-imported/include/utime.h | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 lib/uktime/musl-imported/include/utime.h
diff --git a/lib/uktime/musl-imported/include/utime.h
b/lib/uktime/musl-imported/include/utime.h
new file mode 100644
index 00000000..dd5ff927
--- /dev/null
+++ b/lib/uktime/musl-imported/include/utime.h
@@ -0,0 +1,23 @@
+#ifndef _UTIME_H
+#define _UTIME_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define __NEED_time_t
+
+#include <bits/alltypes.h>
+
+struct utimbuf {
+ time_t actime;
+ time_t modtime;
+};
+
+int utime (const char *, const struct utimbuf *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |