Howard Hinnant | bc8d3f9 | 2010-05-11 19:42:16 +0000 | [diff] [blame^] | 1 | // -*- C++ -*- |
| 2 | //===--------------------------- clocale ----------------------------------===// |
| 3 | // |
| 4 | // ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure |
| 5 | // |
| 6 | // This file is distributed under the University of Illinois Open Source |
| 7 | // License. See LICENSE.TXT for details. |
| 8 | // |
| 9 | //===----------------------------------------------------------------------===// |
| 10 | |
| 11 | #ifndef _LIBCPP_CLOCALE |
| 12 | #define _LIBCPP_CLOCALE |
| 13 | |
| 14 | /* |
| 15 | clocale synopsis |
| 16 | |
| 17 | Macros: |
| 18 | |
| 19 | LC_ALL |
| 20 | LC_COLLATE |
| 21 | LC_CTYPE |
| 22 | LC_MONETARY |
| 23 | LC_NUMERIC |
| 24 | LC_TIME |
| 25 | NULL |
| 26 | |
| 27 | namespace std |
| 28 | { |
| 29 | |
| 30 | struct lconv; |
| 31 | char* setlocale(int category, const char* locale); |
| 32 | lconv* localeconv(); |
| 33 | |
| 34 | } // std |
| 35 | |
| 36 | */ |
| 37 | |
| 38 | #include <__config> |
| 39 | #include <locale.h> |
| 40 | |
| 41 | #pragma GCC system_header |
| 42 | |
| 43 | _LIBCPP_BEGIN_NAMESPACE_STD |
| 44 | |
| 45 | using ::lconv; |
| 46 | using ::setlocale; |
| 47 | using ::localeconv; |
| 48 | |
| 49 | _LIBCPP_END_NAMESPACE_STD |
| 50 | |
| 51 | #endif // _LIBCPP_CLOCALE |