1 // -*- C++ -*- forwarding header.
3 // Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
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)
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.
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,
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.
34 // Note: This is not a conforming implementation.
39 #include <bits/c++config.h>
40 #include <bits/std_cstdio.h>
41 #include <bits/std_cstdarg.h>
43 #if _GLIBCPP_USE_WCHAR_T
44 #pragma GCC system_header
45 #include_next <wchar.h>
52 extern "C" wint_t btowc(int);
53 extern "C" int wctob(wint_t);
54 extern "C" wint_t fgetwc(FILE*);
55 extern "C" wchar_t* fgetws(wchar_t*, int, FILE*);
56 extern "C" wint_t fputwc(wchar_t, FILE*);
57 extern "C" int fputws(const wchar_t*, FILE*);
58 extern "C" int fwide(FILE*, int);
59 extern "C" int fwprintf(FILE*, const wchar_t*, ...);
60 extern "C" int fwscanf(FILE*, const wchar_t*, ...);
61 extern "C" int swprintf(wchar_t*, size_t, const wchar_t*, ...);
62 extern "C" int swscanf(const wchar_t*, const wchar_t*, ...);
63 extern "C" int vfwprintf(FILE*, const wchar_t*, va_list);
64 extern "C" int vfwscanf(FILE*, const wchar_t*, va_list);
65 extern "C" int vswprintf(wchar_t*, size_t, const wchar_t*, va_list);
66 extern "C" int vswscanf(const wchar_t*, const wchar_t*, va_list);
67 extern "C" int vwprintf(const wchar_t*, va_list);
68 extern "C" int vwscanf(const wchar_t*, va_list);
69 extern "C" int wprintf(const wchar_t*, ...);
70 extern "C" int wscanf(const wchar_t*, ...);
71 extern "C" wint_t getwc(FILE* stream
);
72 extern "C" wint_t getwchar(void);
73 extern "C" int mbsinit(const mbstate_t*);
74 extern "C" size_t mbrlen(const char*, size_t, mbstate_t*);
75 extern "C" size_t mbrtowc(wchar_t*, const char*, size_t, mbstate_t*);
76 extern "C" size_t mbsrtowcs(wchar_t*, const char**, size_t, mbstate_t*);
77 extern "C" size_t wcsrtombs(char*, const wchar_t **, size_t, mbstate_t*);
78 extern "C" wint_t putwc(wchar_t, FILE*);
79 extern "C" wint_t putwchar(wchar_t);
80 extern "C" wint_t ungetwc(wint_t, FILE*);
81 extern "C" size_t wcrtomb(char*, wchar_t, mbstate_t*);
82 extern "C" double wcstod(const wchar_t*, wchar_t**);
83 extern "C" float wcstof(const wchar_t*, wchar_t**);
84 extern "C" long int wcstol(const wchar_t*, wchar_t**, int);
85 extern "C" unsigned long int wcstoul(const wchar_t*, wchar_t**, int);
86 extern "C" wchar_t* wcscpy(wchar_t* s1
, const wchar_t*);
87 extern "C" wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t);
88 extern "C" wchar_t* wcscat(wchar_t*, const wchar_t*);
89 extern "C" wchar_t* wcsncat(wchar_t*, const wchar_t*, size_t);
90 extern "C" int wcscmp(const wchar_t*, const wchar_t*);
91 extern "C" int wcscoll(const wchar_t*, const wchar_t*);
92 extern "C" int wcsncmp(const wchar_t*, const wchar_t*, size_t);
93 extern "C" size_t wcsxfrm(wchar_t*, const wchar_t*, size_t);
94 extern "C" wchar_t* wcschr(const wchar_t*, wchar_t);
95 extern "C" size_t wcscspn(const wchar_t*, const wchar_t*);
96 extern "C" size_t wcslen(const wchar_t*);
97 extern "C" wchar_t* wcspbrk(const wchar_t*, const wchar_t*);
98 extern "C" wchar_t* wcsrchr(const wchar_t*, wchar_t);
99 extern "C" size_t wcsspn(const wchar_t*, const wchar_t*);
100 extern "C" wchar_t* wcsstr(const wchar_t*, const wchar_t*);
101 extern "C" wchar_t* wcstok(wchar_t*, const wchar_t*, wchar_t**);
102 extern "C" wchar_t* wmemchr(const wchar_t*, wchar_t, size_t);
103 extern "C" int wmemcmp(const wchar_t*, const wchar_t*, size_t);
104 //extern "C" int wmemcmp(wchar_t*, const wchar_t*, size_t);
105 extern "C" wchar_t* wmemcpy(wchar_t*, const wchar_t*, size_t);
106 extern "C" wchar_t* wmemmove(wchar_t*, const wchar_t*, size_t);
107 extern "C" wchar_t* wmemset(wchar_t*, wchar_t, size_t);
108 extern "C" size_t wcsftime(wchar_t*, size_t, const wchar_t*, const struct tm
*);
112 extern "C" long double wcstold(const wchar_t*, wchar_t**);
113 extern "C" long long int wcstoll(const wchar_t*, wchar_t**, int);
114 extern "C" unsigned long long int wcstoull(const wchar_t*, wchar_t**, int);
131 #endif //_GLIBCPP_USE_WCHAR_T