DEADSOFTWARE

subsystem C99 renamed to PosixC
[cpc.git] / src / cpfront / linux / 486 / Posix / Mod / Clocale.cp
1 MODULE PosixClocale ['locale.h'];
3 (* generated by genposix.sh, do not modify *)
5 IMPORT SYSTEM, PosixCtypes;
7 TYPE
8 char* = PosixCtypes.char;
9 signed_char* = PosixCtypes.signed_char;
10 unsigned_char* = PosixCtypes.unsigned_char;
11 short* = PosixCtypes.short;
12 short_int* = PosixCtypes.short_int;
13 signed_short* = PosixCtypes.signed_short;
14 signed_short_int* = PosixCtypes.signed_short_int;
15 unsigned_short* = PosixCtypes.unsigned_short;
16 unsigned_short_int* = PosixCtypes.unsigned_short_int;
17 int* = PosixCtypes.int;
18 signed* = PosixCtypes.signed;
19 signed_int* = PosixCtypes.signed_int;
20 unsigned* = PosixCtypes.unsigned;
21 unsigned_int* = PosixCtypes.unsigned_int;
22 long* = PosixCtypes.long;
23 long_int* = PosixCtypes.long_int;
24 signed_long* = PosixCtypes.signed_long;
25 signed_long_int* = PosixCtypes.signed_long_int;
26 unsigned_long* = PosixCtypes.unsigned_long;
27 unsigned_long_int* = PosixCtypes.unsigned_long_int;
28 long_long* = PosixCtypes.long_long;
29 long_long_int* = PosixCtypes.long_long_int;
30 signed_long_long* = PosixCtypes.signed_long_long;
31 signed_long_long_int* = PosixCtypes.signed_long_long_int;
32 unsigned_long_long* = PosixCtypes.unsigned_long_long;
33 unsigned_long_long_int* = PosixCtypes.unsigned_long_long_int;
34 float* = PosixCtypes.float;
35 double* = PosixCtypes.double;
36 long_double* = PosixCtypes.long_double;
38 TYPE
39 Pstruct_lconv* = POINTER TO struct_lconv;
40 struct_lconv ['struct lconv'] = LIMITED RECORD [untagged] END;
42 CONST
43 LC_ALL* = 6;
44 LC_COLLATE* = 3;
45 LC_CTYPE* = 0;
46 LC_MESSAGES* = 5;
47 LC_MONETARY* = 4;
48 LC_NUMERIC* = 1;
49 LC_TIME* = 2;
51 CONST
52 LC_COLLATE_MASK* = 8;
53 LC_CTYPE_MASK* = 1;
54 LC_MESSAGES_MASK* = 32;
55 LC_MONETARY_MASK* = 16;
56 LC_NUMERIC_MASK* = 2;
57 LC_TIME_MASK* = 4;
59 CONST
60 LC_ALL_MASK* = 8127;
62 CONST
63 LC_GLOBAL_LOCALE* = -1;
65 TYPE
66 locale_t* = INTEGER;
68 PROCEDURE [ccall] duplocale* (locobj: locale_t): locale_t;
69 PROCEDURE [ccall] freelocale* (locobj: locale_t);
70 PROCEDURE [ccall] localeconv* (): Pstruct_lconv;
71 PROCEDURE [ccall] newlocale* (category_mask: int; IN locale: ARRAY [untagged] OF SHORTCHAR; base: locale_t): locale_t;
72 PROCEDURE [ccall] setlocale* (category: int; IN [nil] locale: ARRAY [untagged] OF SHORTCHAR): POINTER TO ARRAY [untagged] OF SHORTCHAR;
73 PROCEDURE [ccall] uselocale* (newloc: locale_t): locale_t;
75 END PosixClocale.