localeP.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* localeP.h - private locale header file */
  2. /* Copyright 1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01b,22sep92,rrr  added support for c++
  7. 01a,11jul92,smb  written.
  8. */
  9. /*
  10. DESCRIPTION
  11. This header file tries to group all the pieces related to the locale
  12. library together. VxWorks does not implement the locale functionality.
  13. Implementation requires a linked list of tables of the __linfo structure
  14. defined below. The is not feasiable in a real-time environment.
  15. INCLUDE FILE: locale.h
  16. SEE ALSO: Plauger's ANSI C library, 1992.
  17. */
  18. #include "locale.h"
  19. #include "private/timeP.h"
  20. #ifndef __INClocalePh
  21. #define __INClocalePh
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. typedef struct __linfo
  26.     {
  27.     const char * __localeName;
  28.     struct __linfo * __next; /* list */
  29.     const unsigned * __ctype; /* FOR LC_CTYPE */
  30.     unsigned char  __mbcurmax;
  31.     struct lconv  __lc;         /* LC_MONETARY, LC_NUMERIC */
  32.     TIMELOCALE  __times; /* for LC_TIME */
  33.     } __linfo;
  34. #if FALSE /* NOT IMPLEMENTED */
  35.     const short * __toUpper; /* FOR LC_CTYPE */
  36.     const short * __toLower; /* FOR LC_CTYPE */
  37.     __statab __mbstate;
  38.     __statab  __wcstate;
  39.     __statab __costate;  /* for LC_COLLATE */
  40. #endif
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. #endif /* __INClocalePh */