locale.h 653 B

1234567891011121314151617181920212223242526272829
  1. /* locale.h
  2. * Support international type specific characters.
  3. */
  4. #ifndef _LOCALE_H
  5. #define _LOCALE_H 1
  6. #include <features.h>
  7. #ifndef NULL
  8. #ifdef __cplusplus
  9. #define NULL 0
  10. #else
  11. #define NULL ((void *) 0)
  12. #endif
  13. #endif
  14. /* These are the possibilities for the first argument to setlocale.
  15. The code assumes that LC_ALL is the highest value, and zero the lowest. */
  16. #define LC_CTYPE 0
  17. #define LC_NUMERIC 1
  18. #define LC_TIME 2
  19. #define LC_COLLATE 3
  20. #define LC_MONETARY 4
  21. #define LC_MESSAGES 5
  22. #define LC_ALL 6
  23. extern char *setlocale(int __category, __const char *__locale);
  24. #endif /* locale.h */