Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / native_client_sdk / src / libraries / nacl_io / include / sys / time.h
blob8c56c5896b49c92083c458d72dcd3bed95e7db13
1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 #include_next <sys/time.h>
7 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H
8 #define LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H
10 #include <sys/cdefs.h>
11 #include <stdint.h>
13 __BEGIN_DECLS
15 // TODO(binji): https://code.google.com/p/nativeclient/issues/detail?id=3949
16 // remove when these declarations are added to the newlib headers.
17 int utimes(const char *filename, const struct timeval times[2]);
18 int futimes(int fd, const struct timeval times[2]);
20 __END_DECLS
22 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H */