2 .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
4 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
5 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
6 .\" http://www.opengroup.org/bookstore/.
7 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
8 .\" This notice shall appear on any product containing this material.
9 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
10 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
11 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
12 .TH LOCALE.H 3HEAD "Jun 23, 2004"
14 locale.h, locale \- category macros
18 #include <\fBlocale.h\fR>
22 The <\fBlocale.h\fR> header provides a definition for the \fBlconv\fR
23 structure, which includes the following members. (See the definition of
24 \fBLC_MONETARY\fR in \fBlocale\fR(5).)
34 char int_n_cs_precedes
35 char int_n_sep_by_space
37 char int_p_cs_precedes
38 char int_p_sep_by_space
40 char *mon_decimal_point
42 char *mon_thousands_sep
55 The <\fBlocale.h\fR> header defines \fINULL\fR (as defined in <\fBstddef.h\fR>)
56 and the following as macros:
70 The preceding expand to distinct integer constant expressions, for use as the
71 first argument to the \fBsetlocale()\fR function. See \fBsetlocale\fR(3C).
73 The <\fBlocale.h\fR> header also defines the following macros, for use with
88 In addition, to facilitate the use of per-thread locales with the
92 header defines the following type and macro:
101 An opaque type that refers to a locale constructed through the use of
115 A macro which expands to a
117 that represents the current global locale as set by
122 Additional macro definitions, beginning with the characters \fBLC_\fR and an
123 uppercase letter, can also be specified here.
126 See \fBattributes\fR(5) for descriptions of the following attributes:
131 ATTRIBUTE TYPE ATTRIBUTE VALUE
133 Interface Stability Standard
143 .BR stddef.h (3HEAD),