|
|
1.1 ! root 1: /*** ! 2: *locale.h - definitions/declarations for localization routines ! 3: * ! 4: * Copyright (c) 1988-1990, Microsoft Corporation. All rights reserved. ! 5: * ! 6: *Purpose: ! 7: * This file defines the structures, values, macros, and functions ! 8: * used by the localization routines. ! 9: * ! 10: ****/ ! 11: ! 12: ! 13: /* define NULL pointer value */ ! 14: ! 15: #define NULL 0 ! 16: ! 17: ! 18: /* Locale categories */ ! 19: ! 20: #define LC_ALL 0 ! 21: #define LC_COLLATE 1 ! 22: #define LC_CTYPE 2 ! 23: #define LC_MONETARY 3 ! 24: #define LC_NUMERIC 4 ! 25: #define LC_TIME 5 ! 26: ! 27: #define LC_MIN LC_ALL ! 28: #define LC_MAX LC_TIME ! 29: ! 30: ! 31: /* Locale convention structure */ ! 32: ! 33: #ifndef _LCONV_DEFINED ! 34: struct lconv { ! 35: char *decimal_point; ! 36: char *thousands_sep; ! 37: char *grouping; ! 38: char *int_curr_symbol; ! 39: char *currency_symbol; ! 40: char *mon_decimal_point; ! 41: char *mon_thousands_sep; ! 42: char *mon_grouping; ! 43: char *positive_sign; ! 44: char *negative_sign; ! 45: char int_frac_digits; ! 46: char frac_digits; ! 47: char p_cs_precedes; ! 48: char p_sep_by_space; ! 49: char n_cs_precedes; ! 50: char n_sep_by_space; ! 51: char p_sign_posn; ! 52: char n_sign_posn; ! 53: }; ! 54: #define _LCONV_DEFINED ! 55: #endif ! 56: ! 57: /* function prototypes */ ! 58: ! 59: char * _cdecl setlocale(int, const char *); ! 60: struct lconv * _cdecl localeconv(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.