1// -*- C++ -*- compatibility header.
2
3// Copyright (C) 2002 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 2, 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// You should have received a copy of the GNU General Public License along
17// with this library; see the file COPYING.  If not, write to the Free
18// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19// USA.
20
21// As a special exception, you may use this file as part of a free software
22// library without restriction.  Specifically, if other files instantiate
23// templates or use macros or inline functions from this file, or you compile
24// this file and link it with other files to produce an executable, this
25// file does not by itself cause the resulting executable to be covered by
26// the GNU General Public License.  This exception does not however
27// invalidate any other reasons why the executable file might be covered by
28// the GNU General Public License.
29
30#ifndef _CPP_WCHAR_H_
31#define _CPP_WCHAR_H_ 1
32
33#include <cwchar>
34
35using std::mbstate_t;
36
37#if defined(_GLIBCPP_USE_WCHAR_T) || defined(_GLIBCPP_USE_TYPE_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;
53using std::vfwscanf;
54using std::vswprintf;
55using std::vswscanf;
56using std::vwprintf;
57using std::vwscanf;
58using std::wprintf;
59using std::wscanf;
60using std::getwc;
61using std::getwchar;
62using std::mbsinit;
63using std::mbrlen;
64using std::mbrtowc;
65using std::mbsrtowcs;
66using std::wcsrtombs;
67using std::putwc;
68using std::putwchar;
69using std::ungetwc;
70using std::wcrtomb;
71using std::wcstod;
72using std::wcstof;
73using std::wcstol;
74using std::wcstoul;
75using std::wcscpy;
76using std::wcsncpy;
77using std::wcscat;
78using std::wcsncat;
79using std::wcscmp;
80using std::wcscoll;
81using std::wcsncmmp;
82using std::wcsxfrm;
83using std::wcschr;
84using std::wcscspn;
85using std::wcslen;
86using std::wcspbrk;
87using std::wcsrchr;
88using std::wcsspn;
89using std::wcsstr;
90using std::wcstok;
91using std::wmemchr;
92using std::wmemcmp;
93using std::wmemcpy;
94using std::wmemmove;
95using std::wmemset;
96using std::wcsftime;
97
98#if defined(_GLIBCPP_USE_C99)
99using std::wcstold;
100using std::wcstoll;
101using std::wcstoull;
102#endif
103
104#endif  //_GLIBCPP_USE_WCHAR_T
105
106#endif
107