Annotation of mstools/h/locale.h, revision 1.1.1.4

1.1       root        1: /***
                      2: *locale.h - definitions/declarations for localization routines
                      3: *
1.1.1.4 ! root        4: *      Copyright (c) 1988-1993, Microsoft Corporation. All rights reserved.
1.1       root        5: *
                      6: *Purpose:
                      7: *      This file defines the structures, values, macros, and functions
                      8: *      used by the localization routines.
                      9: *
                     10: ****/
                     11: 
                     12: #ifndef _INC_LOCALE
                     13: 
                     14: #ifdef __cplusplus
                     15: extern "C" {
                     16: #endif
                     17: 
                     18: 
1.1.1.3   root       19: /*
                     20:  * Conditional macro definition for function calling type and variable type
                     21:  * qualifiers.
                     22:  */
                     23: #if   ( (_MSC_VER >= 800) && (_M_IX86 >= 300) )
                     24: 
                     25: /*
                     26:  * Definitions for MS C8-32 (386/486) compiler
                     27:  */
                     28: #define _CRTAPI1 __cdecl
                     29: #define _CRTAPI2 __cdecl
                     30: 
                     31: #else
                     32: 
                     33: /*
                     34:  * Other compilers (e.g., MIPS)
                     35:  */
                     36: #define _CRTAPI1
                     37: #define _CRTAPI2
                     38: 
1.1.1.2   root       39: #endif
1.1       root       40: 
1.1.1.3   root       41: 
1.1       root       42: /* define NULL pointer value */
                     43: 
                     44: #ifndef NULL
                     45: #ifdef __cplusplus
                     46: #define NULL   0
                     47: #else
                     48: #define NULL   ((void *)0)
                     49: #endif
                     50: #endif
                     51: 
                     52: /* Locale categories */
                     53: 
                     54: #define LC_ALL         0
                     55: #define LC_COLLATE     1
                     56: #define LC_CTYPE       2
                     57: #define LC_MONETARY    3
                     58: #define LC_NUMERIC     4
                     59: #define LC_TIME        5
                     60: 
                     61: #define LC_MIN         LC_ALL
                     62: #define LC_MAX         LC_TIME
                     63: 
                     64: /* Locale convention structure */
                     65: 
                     66: #ifndef _LCONV_DEFINED
                     67: struct lconv {
                     68:        char *decimal_point;
                     69:        char *thousands_sep;
                     70:        char *grouping;
                     71:        char *int_curr_symbol;
                     72:        char *currency_symbol;
                     73:        char *mon_decimal_point;
                     74:        char *mon_thousands_sep;
                     75:        char *mon_grouping;
                     76:        char *positive_sign;
                     77:        char *negative_sign;
                     78:        char int_frac_digits;
                     79:        char frac_digits;
                     80:        char p_cs_precedes;
                     81:        char p_sep_by_space;
                     82:        char n_cs_precedes;
                     83:        char n_sep_by_space;
                     84:        char p_sign_posn;
                     85:        char n_sign_posn;
                     86:        };
                     87: #define _LCONV_DEFINED
                     88: #endif
                     89: 
                     90: /* function prototypes */
                     91: 
1.1.1.3   root       92: char * _CRTAPI1 setlocale(int, const char *);
                     93: struct lconv * _CRTAPI1 localeconv(void);
1.1       root       94: 
                     95: #ifdef __cplusplus
                     96: }
                     97: #endif
                     98: 
                     99: #define _INC_LOCALE
                    100: #endif /* _INC_LOCALE */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.