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

1.1     ! root        1: /***
        !             2: *locale.h - definitions/declarations for localization routines
        !             3: *
        !             4: *      Copyright (c) 1988-1991, 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: #ifndef _INC_LOCALE
        !            13: 
        !            14: #ifdef __cplusplus
        !            15: extern "C" {
        !            16: #endif
        !            17: 
        !            18: 
        !            19: #if (_MSC_VER <= 600)
        !            20: #define __cdecl _cdecl
        !            21: #endif
        !            22: 
        !            23: /* define NULL pointer value */
        !            24: 
        !            25: #ifndef NULL
        !            26: #ifdef __cplusplus
        !            27: #define NULL   0
        !            28: #else
        !            29: #define NULL   ((void *)0)
        !            30: #endif
        !            31: #endif
        !            32: 
        !            33: 
        !            34: /* Locale categories */
        !            35: 
        !            36: #define LC_ALL         0
        !            37: #define LC_COLLATE     1
        !            38: #define LC_CTYPE       2
        !            39: #define LC_MONETARY    3
        !            40: #define LC_NUMERIC     4
        !            41: #define LC_TIME        5
        !            42: 
        !            43: #define LC_MIN         LC_ALL
        !            44: #define LC_MAX         LC_TIME
        !            45: 
        !            46: 
        !            47: /* Locale convention structure */
        !            48: 
        !            49: #ifndef _LCONV_DEFINED
        !            50: struct lconv {
        !            51:        char *decimal_point;
        !            52:        char *thousands_sep;
        !            53:        char *grouping;
        !            54:        char *int_curr_symbol;
        !            55:        char *currency_symbol;
        !            56:        char *mon_decimal_point;
        !            57:        char *mon_thousands_sep;
        !            58:        char *mon_grouping;
        !            59:        char *positive_sign;
        !            60:        char *negative_sign;
        !            61:        char int_frac_digits;
        !            62:        char frac_digits;
        !            63:        char p_cs_precedes;
        !            64:        char p_sep_by_space;
        !            65:        char n_cs_precedes;
        !            66:        char n_sep_by_space;
        !            67:        char p_sign_posn;
        !            68:        char n_sign_posn;
        !            69:        };
        !            70: #define _LCONV_DEFINED
        !            71: #endif
        !            72: 
        !            73: /* function prototypes */
        !            74: 
        !            75: char * setlocale(int, const char *);
        !            76: struct lconv * localeconv(void);
        !            77: 
        !            78: #ifdef __cplusplus
        !            79: }
        !            80: #endif
        !            81: 
        !            82: #define _INC_LOCALE
        !            83: #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.