Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: native_client_sdk/src/libraries/nacl_io/include/utime.h

Issue 565343002: [NaCl SDK] nacl_io: Plumb through {,f}utime{,s} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/include/utime.h
diff --git a/native_client_sdk/src/libraries/nacl_io/include/utime.h b/native_client_sdk/src/libraries/nacl_io/include/utime.h
new file mode 100644
index 0000000000000000000000000000000000000000..b2f5b5a1413154d9d175bc4a58c8e71d59b179da
--- /dev/null
+++ b/native_client_sdk/src/libraries/nacl_io/include/utime.h
@@ -0,0 +1,17 @@
+/* Copyright 2014 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+#ifndef LIBRARIES_NACL_IO_INCLUDE_UTIME_H_
+#define LIBRARIES_NACL_IO_INCLUDE_UTIME_H_
+
+#include <sys/cdefs.h>
+#include_next <utime.h>
+
+__BEGIN_DECLS
+
+int utime(const char* filename, const struct utimbuf* times);
+
Sam Clegg 2014/09/12 21:36:27 Add TODO here to remove once newlib headers get th
binji 2014/09/12 21:50:07 Done.
+__END_DECLS
+
+#endif /* LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ */

Powered by Google App Engine
This is Rietveld 408576698