home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c063 / 1.ddi / INCLUDE.ZIP / LOCALE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-18  |  1.0 KB  |  57 lines

  1. /*  locale.h
  2.  
  3.     Copyright (c) 1987, 1991 by Borland International
  4.     All Rights Reserved.
  5. */
  6.  
  7. #ifndef __LOCALE_H
  8. #define __LOCALE_H
  9.  
  10. #if !defined( __DEFS_H )
  11. #include <_defs.h>
  12. #endif
  13.  
  14. #ifndef NULL
  15. #include <_null.h>
  16. #endif
  17.  
  18. #define LC_ALL      0
  19. #define LC_COLLATE  1
  20. #define LC_CTYPE    2
  21. #define LC_MONETARY 3
  22. #define LC_NUMERIC  4
  23. #define LC_TIME     5
  24.  
  25. struct lconv
  26.    {
  27.    char *decimal_point;
  28.    char *thousands_sep;
  29.    char *grouping;
  30.    char *int_curr_symbol;
  31.    char *currency_symbol;
  32.    char *mon_decimal_point;
  33.    char *mon_thousands_sep;
  34.    char *mon_grouping;
  35.    char *positive_sign;
  36.    char *negative_sign;
  37.    char int_frac_digits;
  38.    char frac_digits;
  39.    char p_cs_precedes;
  40.    char p_sep_by_space;
  41.    char n_cs_precedes;
  42.    char n_sep_by_space;
  43.    char p_sign_posn;
  44.    char n_sign_posn;
  45.    };
  46.  
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50. char * _Cdecl setlocale( int __category, const char *__locale );
  51. struct lconv * _Cdecl localeconv( void );
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55.  
  56. #endif
  57.