clocale 1015 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifndef _LIBCPP_CLOCALE
  10. #define _LIBCPP_CLOCALE
  11. /*
  12. clocale synopsis
  13. Macros:
  14. LC_ALL
  15. LC_COLLATE
  16. LC_CTYPE
  17. LC_MONETARY
  18. LC_NUMERIC
  19. LC_TIME
  20. NULL
  21. namespace std
  22. {
  23. struct lconv;
  24. char* setlocale(int category, const char* locale);
  25. lconv* localeconv();
  26. } // std
  27. */
  28. #include <__config>
  29. #include <locale.h>
  30. #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
  31. # pragma GCC system_header
  32. #endif
  33. _LIBCPP_BEGIN_NAMESPACE_STD
  34. using ::lconv _LIBCPP_USING_IF_EXISTS;
  35. using ::setlocale _LIBCPP_USING_IF_EXISTS;
  36. using ::localeconv _LIBCPP_USING_IF_EXISTS;
  37. _LIBCPP_END_NAMESPACE_STD
  38. #endif // _LIBCPP_CLOCALE