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 35 using std::mbstate_t; 36 37 #if _GLIBCXX_USE_WCHAR_T 38 using std::wint_t; 39 40 using std::btowc; 41 using std::wctob; 42 using std::fgetwc; 43 using std::fgetwc; 44 using std::fgetws; 45 using std::fputwc; 46 using std::fputws; 47 using std::fwide; 48 #if !defined(__OpenBSD__) 49 using std::fwprintf; 50 using std::fwscanf; 51 using std::swprintf; 52 using std::swscanf; 53 using std::vfwprintf; 54 #endif 55 #if _GLIBCXX_HAVE_VFWSCANF 56 using std::vfwscanf; 57 #endif 58 #if !defined(__OpenBSD__) 59 using std::vswprintf; 60 #endif 61 #if _GLIBCXX_HAVE_VSWSCANF 62 using std::vswscanf; 63 #endif 64 #if !defined(__OpenBSD__) 65 using std::vwprintf; 66 #endif 67 #if _GLIBCXX_HAVE_VWSCANF 68 using std::vwscanf; 69 #endif 70 #if !defined(__OpenBSD__) 71 using std::wprintf; 72 using std::wscanf; 73 #endif 74 using std::getwc; 75 using std::getwchar; 76 using std::mbsinit; 77 using std::mbrlen; 78 using std::mbrtowc; 79 using std::mbsrtowcs; 80 using std::wcsrtombs; 81 using std::putwc; 82 using std::putwchar; 83 using std::ungetwc; 84 using std::wcrtomb; 85 using std::wcstod; 86 #if _GLIBCXX_HAVE_WCSTOF 87 using std::wcstof; 88 #endif 89 using std::wcstol; 90 using std::wcstoul; 91 using std::wcscpy; 92 using std::wcsncpy; 93 using std::wcscat; 94 using std::wcsncat; 95 using std::wcscmp; 96 using std::wcscoll; 97 using std::wcsncmmp; 98 using std::wcsxfrm; 99 using std::wcschr; 100 using std::wcscspn; 101 using std::wcslen; 102 using std::wcspbrk; 103 using std::wcsrchr; 104 using std::wcsspn; 105 using std::wcsstr; 106 using std::wcstok; 107 using std::wmemchr; 108 using std::wmemcmp; 109 using std::wmemcpy; 110 using std::wmemmove; 111 using std::wmemset; 112 #if !defined(__OpenBSD__) 113 using std::wcsftime; 114 #endif 115 116 #if _GLIBCXX_USE_C99 117 using std::wcstold; 118 using std::wcstoll; 119 using std::wcstoull; 120 #endif 121 122 #endif //_GLIBCXX_USE_WCHAR_T 123 124 #endif 125