]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/c_compatibility/wchar.h
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / include / c_compatibility / wchar.h
CommitLineData
8081da07
BK
1// -*- C++ -*- compatibility header.
2
8d9254fc 3// Copyright (C) 2002-2020 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
748086b7 8// Free Software Foundation; either version 3, or (at your option)
8081da07
BK
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
748086b7
JJ
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.
8081da07 19
748086b7
JJ
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/>.
8081da07 24
af13a7a6
BK
25/** @file wchar.h
26 * This is a Standard C++ Library header.
27 */
8081da07
BK
28
29#include <cwchar>
30
af13a7a6
BK
31#ifndef _GLIBCXX_WCHAR_H
32#define _GLIBCXX_WCHAR_H 1
33
34#ifdef _GLIBCXX_NAMESPACE_C
8081da07
BK
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;
23131008 55#endif
8081da07 56using std::vswprintf;
2b1be54b 57#if _GLIBCXX_HAVE_VSWSCANF
8081da07 58using std::vswscanf;
23131008 59#endif
8081da07 60using std::vwprintf;
2b1be54b 61#if _GLIBCXX_HAVE_VWSCANF
8081da07 62using std::vwscanf;
23131008 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;
23131008 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
23c64853 106#if _GLIBCXX_USE_C99_WCHAR
8081da07
BK
107using std::wcstold;
108using std::wcstoll;
109using std::wcstoull;
110#endif
111
3d7c150e 112#endif //_GLIBCXX_USE_WCHAR_T
8081da07 113
af13a7a6
BK
114#endif
115
8081da07 116#endif