]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/c_compatibility/wchar.h
re PR c++/6072 (3.2 g++ testsuite breakage on cygwin)
[thirdparty/gcc.git] / libstdc++-v3 / include / c_compatibility / wchar.h
CommitLineData
8081da07
BK
1// -*- C++ -*- compatibility header.
2
2b1be54b 3// Copyright (C) 2002, 2003 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
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
3d7c150e
BK
30#ifndef _GLIBCXX_WCHAR_H
31#define _GLIBCXX_WCHAR_H 1
8081da07
BK
32
33#include <cwchar>
34
35using std::mbstate_t;
36
3d7c150e 37#if _GLIBCXX_USE_WCHAR_T
8081da07
BK
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;
2b1be54b 53#if _GLIBCXX_HAVE_VFWSCANF
8081da07 54using std::vfwscanf;
2b1be54b 55#endif
8081da07 56using std::vswprintf;
2b1be54b 57#if _GLIBCXX_HAVE_VSWSCANF
8081da07 58using std::vswscanf;
2b1be54b 59#endif
8081da07 60using std::vwprintf;
2b1be54b 61#if _GLIBCXX_HAVE_VWSCANF
8081da07 62using std::vwscanf;
2b1be54b 63#endif
8081da07
BK
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;
2b1be54b 78#if _GLIBCXX_HAVE_WCSTOF
8081da07 79using std::wcstof;
2b1be54b 80#endif
8081da07
BK
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
3d7c150e 106#if _GLIBCXX_USE_C99
8081da07
BK
107using std::wcstold;
108using std::wcstoll;
109using std::wcstoull;
110#endif
111
3d7c150e 112#endif //_GLIBCXX_USE_WCHAR_T
8081da07
BK
113
114#endif