xref: /freebsd/contrib/llvm-project/libcxx/modules/std/cwchar.inc (revision b64c5a0ace59af62eff52bfe110a521dc73c937b)
1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10export namespace std {
11#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
12  using std::mbstate_t _LIBCPP_USING_IF_EXISTS;
13  using std::size_t _LIBCPP_USING_IF_EXISTS;
14  using std::wint_t _LIBCPP_USING_IF_EXISTS;
15
16  using std::tm _LIBCPP_USING_IF_EXISTS;
17
18  using std::btowc _LIBCPP_USING_IF_EXISTS;
19  using std::fgetwc _LIBCPP_USING_IF_EXISTS;
20  using std::fgetws _LIBCPP_USING_IF_EXISTS;
21  using std::fputwc _LIBCPP_USING_IF_EXISTS;
22  using std::fputws _LIBCPP_USING_IF_EXISTS;
23  using std::fwide _LIBCPP_USING_IF_EXISTS;
24  using std::fwprintf _LIBCPP_USING_IF_EXISTS;
25  using std::fwscanf _LIBCPP_USING_IF_EXISTS;
26  using std::getwc _LIBCPP_USING_IF_EXISTS;
27  using std::getwchar _LIBCPP_USING_IF_EXISTS;
28  using std::putwc _LIBCPP_USING_IF_EXISTS;
29  using std::putwchar _LIBCPP_USING_IF_EXISTS;
30  using std::swprintf _LIBCPP_USING_IF_EXISTS;
31  using std::swscanf _LIBCPP_USING_IF_EXISTS;
32  using std::ungetwc _LIBCPP_USING_IF_EXISTS;
33  using std::vfwprintf _LIBCPP_USING_IF_EXISTS;
34  using std::vfwscanf _LIBCPP_USING_IF_EXISTS;
35  using std::vswprintf _LIBCPP_USING_IF_EXISTS;
36  using std::vswscanf _LIBCPP_USING_IF_EXISTS;
37  using std::vwprintf _LIBCPP_USING_IF_EXISTS;
38  using std::vwscanf _LIBCPP_USING_IF_EXISTS;
39  using std::wcscat _LIBCPP_USING_IF_EXISTS;
40  using std::wcschr _LIBCPP_USING_IF_EXISTS;
41  using std::wcscmp _LIBCPP_USING_IF_EXISTS;
42  using std::wcscoll _LIBCPP_USING_IF_EXISTS;
43  using std::wcscpy _LIBCPP_USING_IF_EXISTS;
44  using std::wcscspn _LIBCPP_USING_IF_EXISTS;
45  using std::wcsftime _LIBCPP_USING_IF_EXISTS;
46  using std::wcslen _LIBCPP_USING_IF_EXISTS;
47  using std::wcsncat _LIBCPP_USING_IF_EXISTS;
48  using std::wcsncmp _LIBCPP_USING_IF_EXISTS;
49  using std::wcsncpy _LIBCPP_USING_IF_EXISTS;
50  using std::wcspbrk _LIBCPP_USING_IF_EXISTS;
51  using std::wcsrchr _LIBCPP_USING_IF_EXISTS;
52  using std::wcsspn _LIBCPP_USING_IF_EXISTS;
53  using std::wcsstr _LIBCPP_USING_IF_EXISTS;
54  using std::wcstod _LIBCPP_USING_IF_EXISTS;
55  using std::wcstof _LIBCPP_USING_IF_EXISTS;
56  using std::wcstok _LIBCPP_USING_IF_EXISTS;
57  using std::wcstol _LIBCPP_USING_IF_EXISTS;
58  using std::wcstold _LIBCPP_USING_IF_EXISTS;
59  using std::wcstoll _LIBCPP_USING_IF_EXISTS;
60  using std::wcstoul _LIBCPP_USING_IF_EXISTS;
61  using std::wcstoull _LIBCPP_USING_IF_EXISTS;
62  using std::wcsxfrm _LIBCPP_USING_IF_EXISTS;
63  using std::wctob _LIBCPP_USING_IF_EXISTS;
64  using std::wmemchr _LIBCPP_USING_IF_EXISTS;
65  using std::wmemcmp _LIBCPP_USING_IF_EXISTS;
66  using std::wmemcpy _LIBCPP_USING_IF_EXISTS;
67  using std::wmemmove _LIBCPP_USING_IF_EXISTS;
68  using std::wmemset _LIBCPP_USING_IF_EXISTS;
69  using std::wprintf _LIBCPP_USING_IF_EXISTS;
70  using std::wscanf _LIBCPP_USING_IF_EXISTS;
71
72  // [c.mb.wcs], multibyte / wide string and character conversion functions
73  using std::mbrlen _LIBCPP_USING_IF_EXISTS;
74  using std::mbrtowc _LIBCPP_USING_IF_EXISTS;
75  using std::mbsinit _LIBCPP_USING_IF_EXISTS;
76  using std::mbsrtowcs _LIBCPP_USING_IF_EXISTS;
77  using std::wcrtomb _LIBCPP_USING_IF_EXISTS;
78  using std::wcsrtombs _LIBCPP_USING_IF_EXISTS;
79#endif // _LIBCPP_HAS_NO_WIDE_CHARACTERS
80} // namespace std
81