13c87aa1dSDavid Chisnall /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3e58eb3c4SPedro F. Giffuni * 4a8ed63bbSDavid Chisnall * Copyright (c) 2011, 2012 The FreeBSD Foundation 53c87aa1dSDavid Chisnall * 63c87aa1dSDavid Chisnall * This software was developed by David Chisnall under sponsorship from 73c87aa1dSDavid Chisnall * the FreeBSD Foundation. 83c87aa1dSDavid Chisnall * 93c87aa1dSDavid Chisnall * Redistribution and use in source and binary forms, with or without 103c87aa1dSDavid Chisnall * modification, are permitted provided that the following conditions 113c87aa1dSDavid Chisnall * are met: 12a8ed63bbSDavid Chisnall * 1. Redistributions of source code must retain the above copyright 13a8ed63bbSDavid Chisnall * notice, this list of conditions and the following disclaimer. 14a8ed63bbSDavid Chisnall * 2. Redistributions in binary form must reproduce the above copyright 15a8ed63bbSDavid Chisnall * notice, this list of conditions and the following disclaimer in the 16a8ed63bbSDavid Chisnall * documentation and/or other materials provided with the distribution. 173c87aa1dSDavid Chisnall * 183c87aa1dSDavid Chisnall * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 193c87aa1dSDavid Chisnall * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 203c87aa1dSDavid Chisnall * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 213c87aa1dSDavid Chisnall * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 223c87aa1dSDavid Chisnall * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 233c87aa1dSDavid Chisnall * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 243c87aa1dSDavid Chisnall * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 253c87aa1dSDavid Chisnall * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 263c87aa1dSDavid Chisnall * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 273c87aa1dSDavid Chisnall * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 283c87aa1dSDavid Chisnall * SUCH DAMAGE. 293c87aa1dSDavid Chisnall */ 303c87aa1dSDavid Chisnall 313c87aa1dSDavid Chisnall #ifndef _XLOCALE_H_ 323c87aa1dSDavid Chisnall #define _XLOCALE_H_ 333c87aa1dSDavid Chisnall 343c87aa1dSDavid Chisnall #include <locale.h> 353c87aa1dSDavid Chisnall __BEGIN_DECLS 36a8ed63bbSDavid Chisnall #include <xlocale/_locale.h> 373c87aa1dSDavid Chisnall 383c87aa1dSDavid Chisnall #ifdef _STRING_H_ 39a8ed63bbSDavid Chisnall #include <xlocale/_string.h> 403c87aa1dSDavid Chisnall #endif 41a8ed63bbSDavid Chisnall 423c87aa1dSDavid Chisnall #ifdef _INTTYPES_H_ 43a8ed63bbSDavid Chisnall #include <xlocale/_inttypes.h> 443c87aa1dSDavid Chisnall #endif 45a8ed63bbSDavid Chisnall 463c87aa1dSDavid Chisnall #ifdef _MONETARY_H_ 47a8ed63bbSDavid Chisnall #include <xlocale/_monetary.h> 483c87aa1dSDavid Chisnall #endif 493c87aa1dSDavid Chisnall 503c87aa1dSDavid Chisnall #ifdef _STDLIB_H_ 51a8ed63bbSDavid Chisnall #include <xlocale/_stdlib.h> 52b74cf6dcSDimitry Andric #endif 53a8ed63bbSDavid Chisnall 543c87aa1dSDavid Chisnall #ifdef _TIME_H_ 55a8ed63bbSDavid Chisnall #include <xlocale/_time.h> 563c87aa1dSDavid Chisnall #endif 57a8ed63bbSDavid Chisnall 583c87aa1dSDavid Chisnall #ifdef _LANGINFO_H_ 59a8ed63bbSDavid Chisnall #include <xlocale/_langinfo.h> 603c87aa1dSDavid Chisnall #endif 61a8ed63bbSDavid Chisnall 623c87aa1dSDavid Chisnall #ifdef _CTYPE_H_ 63a8ed63bbSDavid Chisnall #include <xlocale/_ctype.h> 643c87aa1dSDavid Chisnall #endif 65a8ed63bbSDavid Chisnall 663c87aa1dSDavid Chisnall #ifdef _WCTYPE_H_ 67a8ed63bbSDavid Chisnall #define _XLOCALE_WCTYPES 1 68a8ed63bbSDavid Chisnall #include <xlocale/_ctype.h> 693c87aa1dSDavid Chisnall #endif 703c87aa1dSDavid Chisnall 713c87aa1dSDavid Chisnall #ifdef _STDIO_H_ 72a8ed63bbSDavid Chisnall #include <xlocale/_stdio.h> 73b74cf6dcSDimitry Andric #endif 74a8ed63bbSDavid Chisnall 753c87aa1dSDavid Chisnall #ifdef _WCHAR_H_ 76a8ed63bbSDavid Chisnall #include <xlocale/_wchar.h> 773c87aa1dSDavid Chisnall #endif 783c87aa1dSDavid Chisnall 79a8ed63bbSDavid Chisnall 80a8ed63bbSDavid Chisnall 813c87aa1dSDavid Chisnall struct lconv *localeconv_l(locale_t); 823c87aa1dSDavid Chisnall __END_DECLS 833c87aa1dSDavid Chisnall 843c87aa1dSDavid Chisnall #endif 85