add a missing section header table index conversion
[tangerine.git] / compiler / clib / include / locale.h
blob2cbbc0a7b1911b19d65cebe7c17e329556befecc
1 #ifndef _LOCALE_H_
2 #define _LOCALE_H_
3 /*
4 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
5 $Id$
7 C Standard Library: locale.h
8 */
10 #include <sys/cdefs.h>
13 struct lconv contains members relating to the formatting of numerical
14 values. The comments show the default values, ie those used by the "C"
15 locale.
17 struct lconv
19 char *decimal_point; /* "." */
20 char *thousands_sep; /* "" */
21 char *grouping; /* "" */
22 char *mon_decimal_point; /* "" */
23 char *mon_thousands_sep; /* "" */
24 char *mon_grouping; /* "" */
25 char *positive_sign; /* "" */
26 char *negative_sign; /* "" */
27 char *currency_symbol; /* "" */
28 char frac_digits; /* CHAR_MAX */
29 char p_cs_precedes; /* CHAR_MAX */
30 char n_cs_precedes; /* CHAR_MAX */
31 char p_sep_by_space; /* CHAR_MAX */
32 char n_sep_by_space; /* CHAR_MAX */
33 char p_sign_posn; /* CHAR_MAX */
34 char n_sign_posn; /* CHAR_MAX */
35 char *int_curr_symbol; /* "" */
36 char int_frac_digits; /* CHAR_MAX */
37 char int_p_cs_precedes; /* CHAR_MAX */
38 char int_n_cs_precedes; /* CHAR_MAX */
39 char int_p_sep_by_space; /* CHAR_MAX */
40 char int_n_sep_by_space; /* CHAR_MAX */
41 char int_p_sign_posn; /* CHAR_MAX */
42 char int_n_sign_posn; /* CHAR_MAX */
45 #ifndef NULL
46 # define NULL 0
47 #endif
49 #define LC_ALL 0
50 #define LC_COLLATE 1
51 #define LC_CTYPE 2
52 #define LC_MONETARY 3
53 #define LC_NUMERIC 4
54 #define LC_TIME 5
56 __BEGIN_DECLS
57 char *setlocale(int category, const char *locale);
58 struct lconv *localeconv(void);
59 __END_DECLS
61 #endif /* _LOCALE_H_ */