Chromium Code Reviews| Index: native_client_sdk/src/libraries/nacl_io/include/sys/time.h |
| diff --git a/native_client_sdk/src/libraries/nacl_io/include/sys/time.h b/native_client_sdk/src/libraries/nacl_io/include/sys/time.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fa073ceb7b313439ab42a33853df3dc17c9ff596 |
| --- /dev/null |
| +++ b/native_client_sdk/src/libraries/nacl_io/include/sys/time.h |
| @@ -0,0 +1,19 @@ |
| +/* 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_SYS_TIME_H |
| +#define LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H |
| + |
| +#include <sys/cdefs.h> |
| +#include <stdint.h> |
| +#include_next <sys/time.h> |
| + |
| +__BEGIN_DECLS |
| + |
| +int utimes(const char *filename, const struct timeval times[2]); |
| +int futimes(int fd, const struct timeval times[2]); |
|
Sam Clegg
2014/09/12 21:36:26
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_SYS_TIME_H */ |