]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/c_compatibility/wchar.h
acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global.
[thirdparty/gcc.git] / libstdc++-v3 / include / c_compatibility / wchar.h
CommitLineData
8081da07
BK
1// -*- C++ -*- compatibility header.
2
af13a7a6 3// Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
8081da07
BK
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
af13a7a6
BK
16// You should have received a copy of the GNU General Public License
17// along with this library; see the file COPYING. If not, write to
18// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
19// Boston, MA 02110-1301, USA.
8081da07
BK
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
af13a7a6
BK
30/** @file wchar.h
31 * This is a Standard C++ Library header.
32 */
8081da07
BK
33
34#include <cwchar>
35
af13a7a6
BK
36#ifndef _GLIBCXX_WCHAR_H
37#define _GLIBCXX_WCHAR_H 1
38
39#ifdef _GLIBCXX_NAMESPACE_C
8081da07
BK
40using std::mbstate_t;
41
3d7c150e 42#if _GLIBCXX_USE_WCHAR_T
8081da07
BK
43using std::wint_t;
44
45using std::btowc;
46using std::wctob;
47using std::fgetwc;
48using std::fgetwc;
49using std::fgetws;
50using std::fputwc;
51using std::fputws;
52using std::fwide;
53using std::fwprintf;
54using std::fwscanf;
55using std::swprintf;
56using std::swscanf;
57using std::vfwprintf;
2b1be54b 58#if _GLIBCXX_HAVE_VFWSCANF
8081da07 59using std::vfwscanf;
23131008 60#endif
8081da07 61using std::vswprintf;
2b1be54b 62#if _GLIBCXX_HAVE_VSWSCANF
8081da07 63using std::vswscanf;
23131008 64#endif
8081da07 65using std::vwprintf;
2b1be54b 66#if _GLIBCXX_HAVE_VWSCANF
8081da07 67using std::vwscanf;
23131008 68#endif
8081da07
BK
69using std::wprintf;
70using std::wscanf;
71using std::getwc;
72using std::getwchar;
73using std::mbsinit;
74using std::mbrlen;
75using std::mbrtowc;
76using std::mbsrtowcs;
77using std::wcsrtombs;
78using std::putwc;
79using std::putwchar;
80using std::ungetwc;
81using std::wcrtomb;
82using std::wcstod;
2b1be54b 83#if _GLIBCXX_HAVE_WCSTOF
8081da07 84using std::wcstof;
23131008 85#endif
8081da07
BK
86using std::wcstol;
87using std::wcstoul;
88using std::wcscpy;
89using std::wcsncpy;
90using std::wcscat;
91using std::wcsncat;
92using std::wcscmp;
93using std::wcscoll;
94using std::wcsncmmp;
95using std::wcsxfrm;
96using std::wcschr;
97using std::wcscspn;
98using std::wcslen;
99using std::wcspbrk;
100using std::wcsrchr;
101using std::wcsspn;
102using std::wcsstr;
103using std::wcstok;
104using std::wmemchr;
105using std::wmemcmp;
106using std::wmemcpy;
107using std::wmemmove;
108using std::wmemset;
109using std::wcsftime;
110
3d7c150e 111#if _GLIBCXX_USE_C99
8081da07
BK
112using std::wcstold;
113using std::wcstoll;
114using std::wcstoull;
115#endif
116
3d7c150e 117#endif //_GLIBCXX_USE_WCHAR_T
8081da07 118
af13a7a6
BK
119#endif
120
8081da07 121#endif