2011-11-20 14:45:42 +00:00
|
|
|
/*-
|
2017-11-25 17:09:43 +00:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
|
|
|
*
|
2012-03-04 15:31:13 +00:00
|
|
|
* Copyright (c) 2011, 2012 The FreeBSD Foundation
|
2011-11-20 14:45:42 +00:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This software was developed by David Chisnall under sponsorship from
|
|
|
|
* the FreeBSD Foundation.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
2012-03-04 15:31:13 +00:00
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
2011-11-20 14:45:42 +00:00
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
2012-03-04 15:31:13 +00:00
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
2011-11-20 14:45:42 +00:00
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
*
|
|
|
|
* $FreeBSD$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XLOCALE_H_
|
|
|
|
#define _XLOCALE_H_
|
|
|
|
|
|
|
|
#include <locale.h>
|
|
|
|
__BEGIN_DECLS
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_locale.h>
|
2011-11-20 14:45:42 +00:00
|
|
|
|
|
|
|
#ifdef _STRING_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_string.h>
|
2011-11-20 14:45:42 +00:00
|
|
|
#endif
|
2012-03-04 15:31:13 +00:00
|
|
|
|
2011-11-20 14:45:42 +00:00
|
|
|
#ifdef _INTTYPES_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_inttypes.h>
|
2011-11-20 14:45:42 +00:00
|
|
|
#endif
|
2012-03-04 15:31:13 +00:00
|
|
|
|
2011-11-20 14:45:42 +00:00
|
|
|
#ifdef _MONETARY_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_monetary.h>
|
2011-11-20 14:45:42 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _STDLIB_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_stdlib.h>
|
2012-02-14 21:48:46 +00:00
|
|
|
#endif
|
2012-03-04 15:31:13 +00:00
|
|
|
|
2011-11-20 14:45:42 +00:00
|
|
|
#ifdef _TIME_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_time.h>
|
2011-11-20 14:45:42 +00:00
|
|
|
#endif
|
2012-03-04 15:31:13 +00:00
|
|
|
|
2011-11-20 14:45:42 +00:00
|
|
|
#ifdef _LANGINFO_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_langinfo.h>
|
2011-11-20 14:45:42 +00:00
|
|
|
#endif
|
2012-03-04 15:31:13 +00:00
|
|
|
|
2011-11-20 14:45:42 +00:00
|
|
|
#ifdef _CTYPE_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_ctype.h>
|
2011-11-20 14:45:42 +00:00
|
|
|
#endif
|
2012-03-04 15:31:13 +00:00
|
|
|
|
2011-11-20 14:45:42 +00:00
|
|
|
#ifdef _WCTYPE_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#define _XLOCALE_WCTYPES 1
|
|
|
|
#include <xlocale/_ctype.h>
|
2011-11-20 14:45:42 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _STDIO_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_stdio.h>
|
2012-02-14 12:03:23 +00:00
|
|
|
#endif
|
2012-03-04 15:31:13 +00:00
|
|
|
|
2012-02-14 21:48:46 +00:00
|
|
|
#ifdef _WCHAR_H_
|
2012-03-04 15:31:13 +00:00
|
|
|
#include <xlocale/_wchar.h>
|
|
|
|
#endif
|
2011-11-20 14:45:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct lconv *localeconv_l(locale_t);
|
|
|
|
__END_DECLS
|
|
|
|
|
|
|
|
#endif
|