Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* wctrans constants */
  2.  
  3. #include <_ansi.h>
  4.  
  5. /* valid values for wctrans_t */
  6. #define WCT_TOLOWER 1
  7. #define WCT_TOUPPER 2
  8.  
  9. /* valid values for wctype_t */
  10. #define WC_ALNUM        1
  11. #define WC_ALPHA        2
  12. #define WC_BLANK        3
  13. #define WC_CNTRL        4
  14. #define WC_DIGIT        5
  15. #define WC_GRAPH        6
  16. #define WC_LOWER        7
  17. #define WC_PRINT        8
  18. #define WC_PUNCT        9
  19. #define WC_SPACE        10
  20. #define WC_UPPER        11
  21. #define WC_XDIGIT       12
  22.  
  23. extern char *__locale_charset(_NOARGS);
  24.  
  25. /* internal function to translate JP to Unicode */
  26. #ifdef __CYGWIN__
  27. /* Under Cygwin, the incoming wide character is already given in UTF due
  28.    to the requirements of the underlying OS. */
  29. #define _jp2uc(c) (c)
  30. #else
  31. wint_t _EXFUN (_jp2uc, (wint_t));
  32. #endif
  33.