]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libstdc++-v3/contrib/libstdc++-v3-4.3.3/include/c_compatibility/wchar.h
update
[l4.git] / l4 / pkg / libstdc++-v3 / contrib / libstdc++-v3-4.3.3 / include / c_compatibility / wchar.h
1 // -*- C++ -*- compatibility header.
2
3 // Copyright (C) 2002, 2003, 2007 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
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.
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 /** @file wchar.h
31  *  This is a Standard C++ Library header.
32  */
33
34 #include <cwchar>
35
36 #ifndef _GLIBCXX_WCHAR_H
37 #define _GLIBCXX_WCHAR_H 1
38
39 #ifdef _GLIBCXX_NAMESPACE_C
40 using std::mbstate_t;
41
42 #if _GLIBCXX_USE_WCHAR_T
43 using std::wint_t;
44
45 using std::btowc;
46 using std::wctob;
47 using std::fgetwc;
48 using std::fgetwc;
49 using std::fgetws;
50 using std::fputwc;
51 using std::fputws;
52 using std::fwide;
53 using std::fwprintf;
54 using std::fwscanf;
55 using std::swprintf;
56 using std::swscanf;
57 using std::vfwprintf;
58 #if _GLIBCXX_HAVE_VFWSCANF
59 using std::vfwscanf;
60 #endif
61 using std::vswprintf;
62 #if _GLIBCXX_HAVE_VSWSCANF
63 using std::vswscanf;
64 #endif
65 using std::vwprintf;
66 #if _GLIBCXX_HAVE_VWSCANF
67 using std::vwscanf;
68 #endif
69 using std::wprintf;
70 using std::wscanf;
71 using std::getwc;
72 using std::getwchar;
73 using std::mbsinit;
74 using std::mbrlen;
75 using std::mbrtowc;
76 using std::mbsrtowcs;
77 using std::wcsrtombs;
78 using std::putwc;
79 using std::putwchar;
80 using std::ungetwc;
81 using std::wcrtomb;
82 using std::wcstod;
83 #if _GLIBCXX_HAVE_WCSTOF
84 using std::wcstof;
85 #endif
86 using std::wcstol;
87 using std::wcstoul;
88 using std::wcscpy;
89 using std::wcsncpy;
90 using std::wcscat;
91 using std::wcsncat;
92 using std::wcscmp;
93 using std::wcscoll;
94 using std::wcsncmmp;
95 using std::wcsxfrm;
96 using std::wcschr;
97 using std::wcscspn;
98 using std::wcslen;
99 using std::wcspbrk;
100 using std::wcsrchr;
101 using std::wcsspn;
102 using std::wcsstr;
103 using std::wcstok;
104 using std::wmemchr;
105 using std::wmemcmp;
106 using std::wmemcpy;
107 using std::wmemmove;
108 using std::wmemset;
109 using std::wcsftime;
110
111 #if _GLIBCXX_USE_C99
112 using std::wcstold;
113 using std::wcstoll;
114 using std::wcstoull;
115 #endif
116
117 #endif  //_GLIBCXX_USE_WCHAR_T
118
119 #endif 
120
121 #endif