source: CIVL/include/headers/locale.h@ 1aaefd4

main test-branch
Last change on this file since 1aaefd4 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/* locale.h: to alter or access properties of the current locale.
2 */
3#ifndef _LOCALE_
4#define _LOCALE_
5
6/* Macros, integer constant expression */
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#ifndef NULL
15 #define NULL ((void*)0)
16#endif
17
18typedef struct locale_t locale_t;
19struct lconv {
20 char *decimal_point; //"."
21 char *grouping; //""
22 char *thousands_sep; //""
23
24 char *mon_decimal_point; //""
25 char *mon_grouping; //""
26 char *mon_thousands_sep; //""
27
28 char *negative_sign; //""
29 char *positive_sign; //""
30
31 char *currency_symbol; //""
32 char frac_digits; //CHAR_MAX
33 char n_cs_precedes; //CHAR_MAX
34 char n_sep_by_space; //CHAR_MAX
35 char n_sign_posn; //CHAR_MAX
36 char p_cs_precedes; //CHAR_MAX
37 char p_sep_by_space; //CHAR_MAX
38 char p_sign_posn; //CHAR_MAX
39
40 char *int_curr_symbol; //""
41 char int_frac_digits; //CHAR_MAX
42 char int_n_cs_precedes; //CHAR_MAX
43 char int_n_sep_by_space; //CHAR_MAX
44 char int_n_sign_posn; //CHAR_MAX
45 char int_p_cs_precedes; //CHAR_MAX
46 char int_p_sep_by_space; //CHAR_MAX
47 char int_p_sign_posn; //CHAR_MAX
48 };
49
50/* Functions */
51struct lconv *localeconv(void);
52
53char *setlocale(int, const char *);
54
55#endif
Note: See TracBrowser for help on using the repository browser.