home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c021 / 7.img / INCLUDE.ZIP / LOCALE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-04  |  1.1 KB  |  63 lines

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