blob: 21dfcc1516500d5fdc0968ad04b2f1c796c49ced [file] [log] [blame]
Avi Drissmane4622aa2022-09-08 20:36:061// Copyright 2012 The Chromium Authors
[email protected]f7d69972011-06-21 22:34:502// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef BASE_OS_COMPAT_ANDROID_H_
6#define BASE_OS_COMPAT_ANDROID_H_
[email protected]f7d69972011-06-21 22:34:507
8#include <fcntl.h>
9#include <sys/types.h>
10#include <utime.h>
11
[email protected]c5395182011-12-16 03:18:1312// Not implemented in Bionic.
[email protected]f7d69972011-06-21 22:34:5013extern "C" int futimes(int fd, const struct timeval tv[2]);
14
[email protected]4870fe562012-07-16 16:12:1615// Not exposed or implemented in Bionic.
[email protected]f7d69972011-06-21 22:34:5016extern "C" char* mkdtemp(char* path);
17
[email protected]c5395182011-12-16 03:18:1318// Android has no timegm().
19extern "C" time_t timegm(struct tm* const t);
20
[email protected]f7d69972011-06-21 22:34:5021#endif // BASE_OS_COMPAT_ANDROID_H_