[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


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Fri, 4 Oct 2019 10:51:33 +0300
  • Delivery-date: Fri, 04 Oct 2019 07:51:55 +0000
  • Ironport-sdr: KNw/eqJefgYjKHQu+snNGqNtcyeTIQ2qxNGipDlCBtCfBAa1ynDeV+s2F2aTNA6f2eOc3OafuA QnDqV+J5ETyQ==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.