xref: /freebsd/contrib/llvm-project/libcxx/modules/std.compat/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 {
11#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
12  using ::mbstate_t _LIBCPP_USING_IF_EXISTS;
13  using ::size_t _LIBCPP_USING_IF_EXISTS;
14  using ::wint_t _LIBCPP_USING_IF_EXISTS;
15
16  using ::tm _LIBCPP_USING_IF_EXISTS;
17
18  using ::btowc _LIBCPP_USING_IF_EXISTS;
19  using ::fgetwc _LIBCPP_USING_IF_EXISTS;
20  using ::fgetws _LIBCPP_USING_IF_EXISTS;
21  using ::fputwc _LIBCPP_USING_IF_EXISTS;
22  using ::fputws _LIBCPP_USING_IF_EXISTS;
23  using ::fwide _LIBCPP_USING_IF_EXISTS;
24  using ::fwprintf _LIBCPP_USING_IF_EXISTS;
25  using ::fwscanf _LIBCPP_USING_IF_EXISTS;
26  using ::getwc _LIBCPP_USING_IF_EXISTS;
27  using ::getwchar _LIBCPP_USING_IF_EXISTS;
28  using ::putwc _LIBCPP_USING_IF_EXISTS;
29  using ::putwchar _LIBCPP_USING_IF_EXISTS;
30  using ::swprintf _LIBCPP_USING_IF_EXISTS;
31  using ::swscanf _LIBCPP_USING_IF_EXISTS;
32  using ::ungetwc _LIBCPP_USING_IF_EXISTS;
33  using ::vfwprintf _LIBCPP_USING_IF_EXISTS;
34  using ::vfwscanf _LIBCPP_USING_IF_EXISTS;
35  using ::vswprintf _LIBCPP_USING_IF_EXISTS;
36  using ::vswscanf _LIBCPP_USING_IF_EXISTS;
37  using ::vwprintf _LIBCPP_USING_IF_EXISTS;
38  using ::vwscanf _LIBCPP_USING_IF_EXISTS;
39  using ::wcscat _LIBCPP_USING_IF_EXISTS;
40  using ::wcschr _LIBCPP_USING_IF_EXISTS;
41  using ::wcscmp _LIBCPP_USING_IF_EXISTS;
42  using ::wcscoll _LIBCPP_USING_IF_EXISTS;
43  using ::wcscpy _LIBCPP_USING_IF_EXISTS;
44  using ::wcscspn _LIBCPP_USING_IF_EXISTS;
45  using ::wcsftime _LIBCPP_USING_IF_EXISTS;
46  using ::wcslen _LIBCPP_USING_IF_EXISTS;
47  using ::wcsncat _LIBCPP_USING_IF_EXISTS;
48  using ::wcsncmp _LIBCPP_USING_IF_EXISTS;
49  using ::wcsncpy _LIBCPP_USING_IF_EXISTS;
50  using ::wcspbrk _LIBCPP_USING_IF_EXISTS;
51  using ::wcsrchr _LIBCPP_USING_IF_EXISTS;
52  using ::wcsspn _LIBCPP_USING_IF_EXISTS;
53  using ::wcsstr _LIBCPP_USING_IF_EXISTS;
54  using ::wcstod _LIBCPP_USING_IF_EXISTS;
55  using ::wcstof _LIBCPP_USING_IF_EXISTS;
56  using ::wcstok _LIBCPP_USING_IF_EXISTS;
57  using ::wcstol _LIBCPP_USING_IF_EXISTS;
58  using ::wcstold _LIBCPP_USING_IF_EXISTS;
59  using ::wcstoll _LIBCPP_USING_IF_EXISTS;
60  using ::wcstoul _LIBCPP_USING_IF_EXISTS;
61  using ::wcstoull _LIBCPP_USING_IF_EXISTS;
62  using ::wcsxfrm _LIBCPP_USING_IF_EXISTS;
63  using ::wctob _LIBCPP_USING_IF_EXISTS;
64  using ::wmemchr _LIBCPP_USING_IF_EXISTS;
65  using ::wmemcmp _LIBCPP_USING_IF_EXISTS;
66  using ::wmemcpy _LIBCPP_USING_IF_EXISTS;
67  using ::wmemmove _LIBCPP_USING_IF_EXISTS;
68  using ::wmemset _LIBCPP_USING_IF_EXISTS;
69  using ::wprintf _LIBCPP_USING_IF_EXISTS;
70  using ::wscanf _LIBCPP_USING_IF_EXISTS;
71
72  // [c.mb.wcs], multibyte / wide string and character conversion functions
73  using ::mbrlen _LIBCPP_USING_IF_EXISTS;
74  using ::mbrtowc _LIBCPP_USING_IF_EXISTS;
75  using ::mbsinit _LIBCPP_USING_IF_EXISTS;
76  using ::mbsrtowcs _LIBCPP_USING_IF_EXISTS;
77  using ::wcrtomb _LIBCPP_USING_IF_EXISTS;
78  using ::wcsrtombs _LIBCPP_USING_IF_EXISTS;
79#endif // _LIBCPP_HAS_NO_WIDE_CHARACTERS
80} // export
81