1locale.h(3HEAD)                     Headers                    locale.h(3HEAD)
2
3
4

NAME

6       locale.h, locale - category macros
7

SYNOPSIS

9       #include <locale.h>
10
11

DESCRIPTION

13       The  <locale.h>  header  provides a definition for the lconv structure,
14       which includes the following members. (See the definition  of  LC_MONE‐
15       TARY in locale(5).)
16
17         char         *currency_symbol
18         char         *decimal_point
19         char         frac_digits
20         char         *grouping
21         char         *int_curr_symbol
22         char         int_frac_digits
23         char         int_n_cs_precedes
24         char         int_n_sep_by_space
25         char         int_n_sign_posn
26         char         int_p_cs_precedes
27         char         int_p_sep_by_space
28         char         int_p_sign_posn
29         char         *mon_decimal_point
30         char         *mon_grouping
31         char         *mon_thousands_sep
32         char         *negative_sign
33         char         n_cs_precedes
34         char         n_sep_by_space
35         char         n_sign_posn
36         char         *positive_sign
37         char         p_cs_precedes
38         char         p_sep_by_space
39         char         p_sign_posn
40         char         *thousands_sep
41
42
43
44       The  <locale.h>  header defines NULL (as defined in <stddef.h>) and the
45       following as macros:
46
47         LC_ALL
48         LC_COLLATE
49         LC_CTYPE
50         LC_MESSAGES
51         LC_MONETARY
52         LC_NUMERIC
53         LC_TIME
54
55
56
57       The preceding expand to distinct integer constant expressions, for  use
58       as the first argument to the setlocale() function. See setlocale(3C).
59
60
61       Additional  macro definitions, beginning with the characters LC_ and an
62       uppercase letter, can also be specified here.
63

ATTRIBUTES

65       See attributes(5) for descriptions of the following attributes:
66
67
68
69
70       ┌─────────────────────────────┬─────────────────────────────┐
71       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
72       ├─────────────────────────────┼─────────────────────────────┤
73       │Interface Stability          │Standard                     │
74       └─────────────────────────────┴─────────────────────────────┘
75

SEE ALSO

77       setlocale(3C),    localeconv(3C),    stddef.h(3HEAD),    attributes(5),
78       locale(5), standards(5)
79
80
81
82SunOS 5.11                        10 Sep 2004                  locale.h(3HEAD)
Impressum