Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
locale.h
Go to the documentation of this file.
1
#ifndef __LOCALE_H_
2
#define __LOCALE_H_
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
// TODO: documnentation
9
10
#define LC_CTYPE 0
11
#define LC_NUMERIC 1
12
#define LC_TIME 2
13
#define LC_COLLATE 3
14
#define LC_MONETARY 4
15
#define LC_MESSAGES 5
16
#define LC_ALL 6
17
18
struct
lconv
19
{
20
char
*
decimal_point
;
21
char
*
thousands_sep
;
22
char
*
grouping
;
23
24
char
*
int_curr_symbol
;
25
char
*
currency_symbol
;
26
char
*
mon_decimal_point
;
27
char
*
mon_thousands_sep
;
28
char
*
mon_grouping
;
29
char
*
positive_sign
;
30
char
*
negative_sign
;
31
char
int_frac_digits
;
32
char
frac_digits
;
33
char
p_cs_precedes
;
34
char
p_sep_by_space
;
35
char
n_cs_precedes
;
36
char
n_sep_by_space
;
37
char
p_sign_posn
;
38
char
n_sign_posn
;
39
char
int_p_cs_precedes
;
40
char
int_p_sep_by_space
;
41
char
int_n_cs_precedes
;
42
char
int_n_sep_by_space
;
43
char
int_p_sign_posn
;
44
char
int_n_sign_posn
;
45
};
46
47
#ifndef DISABLE_UNIMPLEMENTED_LIBC_APIS
48
char
*
setlocale
(
int
,
const
char
*);
49
struct
lconv
*
localeconv
(
void
);
50
#endif
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif // __LOCALE_H_
lconv::int_frac_digits
char int_frac_digits
Definition:
locale.h:31
lconv::int_n_cs_precedes
char int_n_cs_precedes
Definition:
locale.h:41
lconv::mon_thousands_sep
char * mon_thousands_sep
Definition:
locale.h:27
lconv::n_sign_posn
char n_sign_posn
Definition:
locale.h:38
lconv::positive_sign
char * positive_sign
Definition:
locale.h:29
lconv::p_sign_posn
char p_sign_posn
Definition:
locale.h:37
lconv::int_p_sep_by_space
char int_p_sep_by_space
Definition:
locale.h:40
lconv::currency_symbol
char * currency_symbol
Definition:
locale.h:25
lconv::frac_digits
char frac_digits
Definition:
locale.h:32
lconv::mon_grouping
char * mon_grouping
Definition:
locale.h:28
lconv::thousands_sep
char * thousands_sep
Definition:
locale.h:21
localeconv
struct lconv * localeconv(void)
lconv
Definition:
locale.h:18
lconv::int_curr_symbol
char * int_curr_symbol
Definition:
locale.h:24
lconv::grouping
char * grouping
Definition:
locale.h:22
setlocale
char * setlocale(int, const char *)
lconv::int_n_sign_posn
char int_n_sign_posn
Definition:
locale.h:44
lconv::n_cs_precedes
char n_cs_precedes
Definition:
locale.h:35
lconv::mon_decimal_point
char * mon_decimal_point
Definition:
locale.h:26
lconv::int_n_sep_by_space
char int_n_sep_by_space
Definition:
locale.h:42
lconv::n_sep_by_space
char n_sep_by_space
Definition:
locale.h:36
lconv::negative_sign
char * negative_sign
Definition:
locale.h:30
lconv::p_sep_by_space
char p_sep_by_space
Definition:
locale.h:34
lconv::int_p_cs_precedes
char int_p_cs_precedes
Definition:
locale.h:39
lconv::int_p_sign_posn
char int_p_sign_posn
Definition:
locale.h:43
lconv::decimal_point
char * decimal_point
Definition:
locale.h:20
lconv::p_cs_precedes
char p_cs_precedes
Definition:
locale.h:33
include
locale.h
Generated by
1.8.15