aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx/clocale
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-24 19:06:33 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-24 19:06:33 -0700
commit1ea039eea38dad37c5b0c836cf98829bad6013ce (patch)
tree6d851de99c00b4aa1c45624df570b5cb7f89fed5 /system/include/libcxx/clocale
parentdd0230c9cf09a7b19712a4acefe0ae27ea40ea85 (diff)
include libcxx
Diffstat (limited to 'system/include/libcxx/clocale')
-rw-r--r--system/include/libcxx/clocale51
1 files changed, 51 insertions, 0 deletions
diff --git a/system/include/libcxx/clocale b/system/include/libcxx/clocale
new file mode 100644
index 00000000..6982f84e
--- /dev/null
+++ b/system/include/libcxx/clocale
@@ -0,0 +1,51 @@
+// -*- C++ -*-
+//===--------------------------- clocale ----------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP_CLOCALE
+#define _LIBCPP_CLOCALE
+
+/*
+ clocale synopsis
+
+Macros:
+
+ LC_ALL
+ LC_COLLATE
+ LC_CTYPE
+ LC_MONETARY
+ LC_NUMERIC
+ LC_TIME
+ NULL
+
+namespace std
+{
+
+struct lconv;
+char* setlocale(int category, const char* locale);
+lconv* localeconv();
+
+} // std
+
+*/
+
+#include <__config>
+#include <locale.h>
+
+#pragma GCC system_header
+
+_LIBCPP_BEGIN_NAMESPACE_STD
+
+using ::lconv;
+using ::setlocale;
+using ::localeconv;
+
+_LIBCPP_END_NAMESPACE_STD
+
+#endif // _LIBCPP_CLOCALE