blob: 91985e4dc35c2d5853eef60cf505f628e61f8b9a [file] [log] [blame]
Dan Albert2ef012e2014-04-08 12:03:21 -07001// -*- C++ -*-
2//===------------------- support/android/wchar_bionic.h -------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef _LIBCPP_SUPPORT_ANDROID_WCHAR_BIONIC_H
12#define _LIBCPP_SUPPORT_ANDROID_WCHAR_BIONIC_H
13
14#ifdef __ANDROID__
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20int vfwscanf(FILE *, const wchar_t *, va_list);
21int vswscanf(const wchar_t *, const wchar_t *, va_list);
22int vwscanf(const wchar_t *, va_list);
23float wcstof(const wchar_t *, wchar_t **);
24double wcstod(const wchar_t *, wchar_t **);
25long double wcstold(const wchar_t *, wchar_t **);
26long long wcstoll(const wchar_t *, wchar_t **, int);
27unsigned long long wcstoull(const wchar_t *, wchar_t **, int);
28size_t wcsnrtombs(char *, const wchar_t **, size_t, size_t, mbstate_t *);
29size_t mbsnrtowcs(wchar_t *, const char **, size_t, size_t, mbstate_t *);
30int mbtowc(wchar_t *, const char *, size_t);
31
32#ifdef __cplusplus
33}
34#endif
35#endif // __ANDROID__
36#endif // _LIBCPP_SUPPORT_ANDROID_WCHAR_BIONIC_H