1// -*- C++ -*- compatibility header. 2 3// Copyright (C) 2002-2020 Free Software Foundation, Inc. 4// 5// This file is part of the GNU ISO C++ Library. This library is free 6// software; you can redistribute it and/or modify it under the 7// terms of the GNU General Public License as published by the 8// Free Software Foundation; either version 3, or (at your option) 9// any later version. 10 11// This library is distributed in the hope that it will be useful, 12// but WITHOUT ANY WARRANTY; without even the implied warranty of 13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14// GNU General Public License for more details. 15 16// Under Section 7 of GPL version 3, you are granted additional 17// permissions described in the GCC Runtime Library Exception, version 18// 3.1, as published by the Free Software Foundation. 19 20// You should have received a copy of the GNU General Public License and 21// a copy of the GCC Runtime Library Exception along with this program; 22// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 23// <http://www.gnu.org/licenses/>. 24 25/** @file wchar.h 26 * This is a Standard C++ Library header. 27 */ 28 29#include <cwchar> 30 31#ifndef _GLIBCXX_WCHAR_H 32#define _GLIBCXX_WCHAR_H 1 33 34#ifdef _GLIBCXX_NAMESPACE_C 35using std::mbstate_t; 36 37#if _GLIBCXX_USE_WCHAR_T 38using std::wint_t; 39 40using std::btowc; 41using std::wctob; 42using std::fgetwc; 43using std::fgetwc; 44using std::fgetws; 45using std::fputwc; 46using std::fputws; 47using std::fwide; 48using std::fwprintf; 49using std::fwscanf; 50using std::swprintf; 51using std::swscanf; 52using std::vfwprintf; 53#if _GLIBCXX_HAVE_VFWSCANF 54using std::vfwscanf; 55#endif 56using std::vswprintf; 57#if _GLIBCXX_HAVE_VSWSCANF 58using std::vswscanf; 59#endif 60using std::vwprintf; 61#if _GLIBCXX_HAVE_VWSCANF 62using std::vwscanf; 63#endif 64using std::wprintf; 65using std::wscanf; 66using std::getwc; 67using std::getwchar; 68using std::mbsinit; 69using std::mbrlen; 70using std::mbrtowc; 71using std::mbsrtowcs; 72using std::wcsrtombs; 73using std::putwc; 74using std::putwchar; 75using std::ungetwc; 76using std::wcrtomb; 77using std::wcstod; 78#if _GLIBCXX_HAVE_WCSTOF 79using std::wcstof; 80#endif 81using std::wcstol; 82using std::wcstoul; 83using std::wcscpy; 84using std::wcsncpy; 85using std::wcscat; 86using std::wcsncat; 87using std::wcscmp; 88using std::wcscoll; 89using std::wcsncmmp; 90using std::wcsxfrm; 91using std::wcschr; 92using std::wcscspn; 93using std::wcslen; 94using std::wcspbrk; 95using std::wcsrchr; 96using std::wcsspn; 97using std::wcsstr; 98using std::wcstok; 99using std::wmemchr; 100using std::wmemcmp; 101using std::wmemcpy; 102using std::wmemmove; 103using std::wmemset; 104using std::wcsftime; 105 106#if _GLIBCXX_USE_C99_WCHAR 107using std::wcstold; 108using std::wcstoll; 109using std::wcstoull; 110#endif 111 112#endif //_GLIBCXX_USE_WCHAR_T 113 114#endif 115 116#endif 117