PatchworkOS
Loading...
Searching...
No Matches
locale.h
Go to the documentation of this file.
1#ifndef _LOCALE_H
2#define _LOCALE_H 1
3
4#if defined(__cplusplus)
5extern "C"
6{
7#endif
8
9#include "_internal/config.h"
10
11struct lconv
12{
13 char* decimal_point; /* decimal point character */ /* LC_NUMERIC */
14 char* thousands_sep; /* character for separating groups of digits */ /* LC_NUMERIC */
15 char* grouping; /* string indicating the size of digit groups */ /* LC_NUMERIC */
16 char* mon_decimal_point; /* decimal point for monetary quantities */ /* LC_MONETARY */
17 char* mon_thousands_sep; /* thousands_sep for monetary quantities */ /* LC_MONETARY */
18 char* mon_grouping; /* grouping for monetary quantities */ /* LC_MONETARY */
19 char* positive_sign; /* string indicating nonnegative mty. qty. */ /* LC_MONETARY */
20 char* negative_sign; /* string indicating negative mty. qty. */ /* LC_MONETARY */
21 char* currency_symbol; /* local currency symbol (e.g. '$') */ /* LC_MONETARY */
22 char* int_curr_symbol; /* international currency symbol (e.g. "USD" */ /* LC_MONETARY */
23 char frac_digits; /* fractional digits in local monetary qty. */ /* LC_MONETARY */
24 char p_cs_precedes; /* if currency_symbol precedes positive qty. */ /* LC_MONETARY */
25 char n_cs_precedes; /* if currency_symbol precedes negative qty. */ /* LC_MONETARY */
26 char p_sep_by_space; /* if it is separated by space from pos. qty. */ /* LC_MONETARY */
27 char n_sep_by_space; /* if it is separated by space from neg. qty. */ /* LC_MONETARY */
28 char p_sign_posn; /* positioning of positive_sign for mon. qty. */ /* LC_MONETARY */
29 char n_sign_posn; /* positioning of negative_sign for mon. qty. */ /* LC_MONETARY */
30 char int_frac_digits; /* Same as above, for international format */ /* LC_MONETARY */
31 char int_p_cs_precedes; /* Same as above, for international format */ /* LC_MONETARY */
32 char int_n_cs_precedes; /* Same as above, for international format */ /* LC_MONETARY */
33 char int_p_sep_by_space; /* Same as above, for international format */ /* LC_MONETARY */
34 char int_n_sep_by_space; /* Same as above, for international format */ /* LC_MONETARY */
35 char int_p_sign_posn; /* Same as above, for international format */ /* LC_MONETARY */
36 char int_n_sign_posn; /* Same as above, for international format */ /* LC_MONETARY */
37};
38
39#if defined(__cplusplus)
40}
41#endif
42
43#endif
Definition locale.h:12
char * mon_grouping
Definition locale.h:18
char int_p_cs_precedes
Definition locale.h:31
char * mon_decimal_point
Definition locale.h:16
char p_sign_posn
Definition locale.h:28
char int_p_sign_posn
Definition locale.h:35
char int_n_cs_precedes
Definition locale.h:32
char p_sep_by_space
Definition locale.h:26
char * negative_sign
Definition locale.h:20
char * decimal_point
Definition locale.h:13
char * grouping
Definition locale.h:15
char * mon_thousands_sep
Definition locale.h:17
char int_n_sign_posn
Definition locale.h:36
char int_frac_digits
Definition locale.h:30
char * positive_sign
Definition locale.h:19
char frac_digits
Definition locale.h:23
char n_sep_by_space
Definition locale.h:27
char * int_curr_symbol
Definition locale.h:22
char n_cs_precedes
Definition locale.h:25
char int_n_sep_by_space
Definition locale.h:34
char n_sign_posn
Definition locale.h:29
char int_p_sep_by_space
Definition locale.h:33
char * thousands_sep
Definition locale.h:14
char p_cs_precedes
Definition locale.h:24
char * currency_symbol
Definition locale.h:21