[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT v2 2/8] lib/uktime: Import utime.h from musl



Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@xxxxxxxxx>

On 04.10.2019 10:51, Costin Lupu wrote:
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

_______________________________________________
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®.