Dan Albert | 2ef012e | 2014-04-08 12:03:21 -0700 | [diff] [blame] | 1 | // -*- 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 |
| 17 | extern "C" { |
| 18 | #endif |
| 19 | |
| 20 | int vfwscanf(FILE *, const wchar_t *, va_list); |
| 21 | int vswscanf(const wchar_t *, const wchar_t *, va_list); |
| 22 | int vwscanf(const wchar_t *, va_list); |
| 23 | float wcstof(const wchar_t *, wchar_t **); |
| 24 | double wcstod(const wchar_t *, wchar_t **); |
| 25 | long double wcstold(const wchar_t *, wchar_t **); |
| 26 | long long wcstoll(const wchar_t *, wchar_t **, int); |
| 27 | unsigned long long wcstoull(const wchar_t *, wchar_t **, int); |
| 28 | size_t wcsnrtombs(char *, const wchar_t **, size_t, size_t, mbstate_t *); |
| 29 | size_t mbsnrtowcs(wchar_t *, const char **, size_t, size_t, mbstate_t *); |
| 30 | int 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 |