Iros
Loading...
Searching...
No Matches
locale.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
ccpp/bits/config.h
>
4
5
__CCPP_BEGIN_DECLARATIONS
6
7
#define LC_ALL 0
8
#define LC_COLLATE 1
9
#define LC_CTYPE 2
10
#define LC_MONETARY 3
11
#define LC_NUMERIC 4
12
#define LC_TIME 5
13
14
#ifdef __CCPP_POSIX_EXTENSIONS
15
#define LC_MESSAGES 6
16
#endif
17
18
typedef
void
*
locale_t
;
19
20
struct
lconv
{
21
char
*
decimal_point
;
22
char
*
thousands_sep
;
23
char
*
grouping
;
24
25
char
*
mon_decimal_point
;
26
char
*
mon_thousands_sep
;
27
char
*
mon_grouping
;
28
char
*
positive_sign
;
29
char
*
negative_sign
;
30
31
char
*
currency_symbol
;
32
char
frac_digits
;
33
char
p_cs_precedes
;
34
char
n_cs_precedes
;
35
char
p_sep_by_space
;
36
char
n_sep_by_space
;
37
char
p_sign_posn
;
38
char
n_sign_posn
;
39
40
char
*
int_curr_symbol
;
41
char
int_frac_digits
;
42
char
int_p_cs_precedes
;
43
char
int_n_cs_precedes
;
44
char
int_p_sep_by_space
;
45
char
int_n_sep_by_space
;
46
char
int_p_sign_posn
;
47
char
int_n_sign_posn
;
48
};
49
50
char
*
setlocale
(
int
__category,
char
const
* __locale);
51
52
struct
lconv
*
localeconv
(
void
);
53
54
__CCPP_END_DECLARATIONS
config.h
__CCPP_END_DECLARATIONS
#define __CCPP_END_DECLARATIONS
Definition
config.h:8
__CCPP_BEGIN_DECLARATIONS
#define __CCPP_BEGIN_DECLARATIONS
Definition
config.h:7
setlocale
char * setlocale(int __category, char const *__locale)
Definition
setlocale.cpp:3
locale_t
void * locale_t
Definition
locale.h:18
localeconv
struct lconv * localeconv(void)
lconv
Definition
locale.h:20
lconv::mon_grouping
char * mon_grouping
Definition
locale.h:27
lconv::int_p_cs_precedes
char int_p_cs_precedes
Definition
locale.h:42
lconv::mon_decimal_point
char * mon_decimal_point
Definition
locale.h:25
lconv::p_sign_posn
char p_sign_posn
Definition
locale.h:37
lconv::int_p_sign_posn
char int_p_sign_posn
Definition
locale.h:46
lconv::int_n_cs_precedes
char int_n_cs_precedes
Definition
locale.h:43
lconv::p_sep_by_space
char p_sep_by_space
Definition
locale.h:35
lconv::negative_sign
char * negative_sign
Definition
locale.h:29
lconv::decimal_point
char * decimal_point
Definition
locale.h:21
lconv::grouping
char * grouping
Definition
locale.h:23
lconv::mon_thousands_sep
char * mon_thousands_sep
Definition
locale.h:26
lconv::int_n_sign_posn
char int_n_sign_posn
Definition
locale.h:47
lconv::int_frac_digits
char int_frac_digits
Definition
locale.h:41
lconv::positive_sign
char * positive_sign
Definition
locale.h:28
lconv::frac_digits
char frac_digits
Definition
locale.h:32
lconv::n_sep_by_space
char n_sep_by_space
Definition
locale.h:36
lconv::int_curr_symbol
char * int_curr_symbol
Definition
locale.h:40
lconv::n_cs_precedes
char n_cs_precedes
Definition
locale.h:34
lconv::int_n_sep_by_space
char int_n_sep_by_space
Definition
locale.h:45
lconv::n_sign_posn
char n_sign_posn
Definition
locale.h:38
lconv::int_p_sep_by_space
char int_p_sep_by_space
Definition
locale.h:44
lconv::thousands_sep
char * thousands_sep
Definition
locale.h:22
lconv::p_cs_precedes
char p_cs_precedes
Definition
locale.h:33
lconv::currency_symbol
char * currency_symbol
Definition
locale.h:31
libs
ccpp
include
locale.h
Generated by
1.13.0