xref: /freebsd-12.1/contrib/libc++/include/clocale (revision 854fa44b)
17a984708SDavid Chisnall// -*- C++ -*-
27a984708SDavid Chisnall//===--------------------------- clocale ----------------------------------===//
37a984708SDavid Chisnall//
47a984708SDavid Chisnall//                     The LLVM Compiler Infrastructure
57a984708SDavid Chisnall//
67a984708SDavid Chisnall// This file is dual licensed under the MIT and the University of Illinois Open
77a984708SDavid Chisnall// Source Licenses. See LICENSE.TXT for details.
87a984708SDavid Chisnall//
97a984708SDavid Chisnall//===----------------------------------------------------------------------===//
107a984708SDavid Chisnall
117a984708SDavid Chisnall#ifndef _LIBCPP_CLOCALE
127a984708SDavid Chisnall#define _LIBCPP_CLOCALE
137a984708SDavid Chisnall
147a984708SDavid Chisnall/*
157a984708SDavid Chisnall    clocale synopsis
167a984708SDavid Chisnall
177a984708SDavid ChisnallMacros:
187a984708SDavid Chisnall
197a984708SDavid Chisnall    LC_ALL
207a984708SDavid Chisnall    LC_COLLATE
217a984708SDavid Chisnall    LC_CTYPE
227a984708SDavid Chisnall    LC_MONETARY
237a984708SDavid Chisnall    LC_NUMERIC
247a984708SDavid Chisnall    LC_TIME
257a984708SDavid Chisnall    NULL
267a984708SDavid Chisnall
277a984708SDavid Chisnallnamespace std
287a984708SDavid Chisnall{
297a984708SDavid Chisnall
307a984708SDavid Chisnallstruct lconv;
317a984708SDavid Chisnallchar* setlocale(int category, const char* locale);
327a984708SDavid Chisnalllconv* localeconv();
337a984708SDavid Chisnall
347a984708SDavid Chisnall}  // std
357a984708SDavid Chisnall
367a984708SDavid Chisnall*/
377a984708SDavid Chisnall
387a984708SDavid Chisnall#include <__config>
397a984708SDavid Chisnall#include <locale.h>
407a984708SDavid Chisnall
417a984708SDavid Chisnall#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
427a984708SDavid Chisnall#pragma GCC system_header
437a984708SDavid Chisnall#endif
447a984708SDavid Chisnall
457a984708SDavid Chisnall_LIBCPP_BEGIN_NAMESPACE_STD
467a984708SDavid Chisnall
477a984708SDavid Chisnallusing ::lconv;
48*854fa44bSDimitry Andric#ifndef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
497a984708SDavid Chisnallusing ::setlocale;
50*854fa44bSDimitry Andric#endif
517a984708SDavid Chisnallusing ::localeconv;
527a984708SDavid Chisnall
537a984708SDavid Chisnall_LIBCPP_END_NAMESPACE_STD
547a984708SDavid Chisnall
557a984708SDavid Chisnall#endif  // _LIBCPP_CLOCALE
56