1// -*- C++ -*- compatibility header.
2
3// Copyright (C) 2002, 2003 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
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 _GLIBCXX_WCHAR_H
31#define _GLIBCXX_WCHAR_H 1
32
33#include <cwchar>
34
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
107using std::wcstold;
108using std::wcstoll;
109using std::wcstoull;
110#endif
111
112#endif  //_GLIBCXX_USE_WCHAR_T
113
114#endif
115