home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / xpg4 / include / langinfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-02  |  4.8 KB  |  91 lines

  1. /** LANGINFO.H National Language Support OS2 Include File
  2. *.
  3. *.      (C) COPYRIGHT International Business Machines Corp. 1985, 1990
  4. *.      All Rights Reserved
  5. *.      Licensed Materials - Property of IBM
  6. *.
  7. *.      US Government Users Restricted Rights - Use, duplication or
  8. *.      disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. *.
  10. ** Description:
  11. *
  12. *       The LANGINFO.H file is part of the National Language Support
  13. *       system for OS/2 and AIX operating systems. Programmers
  14. *       interested in writing NLS enabled applications would include
  15. *       this file in their source files.
  16. *
  17. ** Notes:
  18. *
  19. *) For OS/2 development the NLS libraries must precede any C Set/2
  20. *  libraries, in order to supercede C Set/2 obsolete NLS routines.
  21. *
  22. *) For AIX development, this file is not needed since NLS is imbedded
  23. *  in all AIX system include files.
  24. *
  25. *) Future versions of C Set/2 will support this version of NLS and at
  26. *  that time this include file, and its associated libraries may be removed
  27. *  from the build process (the make file).
  28. *
  29. **/
  30.  
  31. #ifndef     _H_LANGINFO
  32.     #define _H_LANGINFO
  33.  
  34.  
  35. #define D_T_FMT    1  /* string for formatting date and time           */
  36. #define D_FMT      2  /* string for formatting date                    */
  37. #define T_FMT      3  /* string for formatting time                    */
  38. #define AM_STR     4  /* string for a.m.                               */
  39. #define PM_STR     5  /* string for p.m.                               */
  40.  
  41. #define ABDAY_1    6  /* abbreviated first day of the week (Sun)       */
  42. #define ABDAY_2    7  /* abbreviated second day of the week (Mon)      */
  43. #define ABDAY_3    8  /* abbreviated third day of the week (Tue)       */
  44. #define ABDAY_4    9  /* abbreviated fourth day of the week (Wed)      */
  45. #define ABDAY_5   10  /* abbreviated fifth day of the week (Thu)       */
  46. #define ABDAY_6   11  /* abbreviated sixth day of the week (Fri)       */
  47. #define ABDAY_7   12  /* abbreviated seventh day of the week (Sat)     */
  48.  
  49. #define DAY_1     13  /* name of the first day of the week (Sunday)    */
  50. #define DAY_2     14  /* name of the second day of the week (Monday)   */
  51. #define DAY_3     15  /* name of the third day of the week (Tuesday)   */
  52. #define DAY_4     16  /* name of the fourth day of the week (Wednesday)*/
  53. #define DAY_5     17  /* name of the fifth day of the week (Thursday)  */
  54. #define DAY_6     18  /* name of the sixth day of the week (Friday)    */
  55. #define DAY_7     19  /* name of the seventh day of the week (Saturday)*/
  56.  
  57. #define ABMON_1   20  /* abbreviated first month (Jan)                 */
  58. #define ABMON_2   21  /* abbreviated second month (Feb)                */
  59. #define ABMON_3   22  /* abbreviated third month (Mar)                 */
  60. #define ABMON_4   23  /* abbreviated fourth month (Apr)                */
  61. #define ABMON_5   24  /* abbreviated fifth month (May)                 */
  62. #define ABMON_6   25  /* abbreviated sixth month (Jun)                 */
  63. #define ABMON_7   26  /* abbreviated seventh month (Jul)               */
  64. #define ABMON_8   27  /* abbreviated eighth month (Aug)                */
  65. #define ABMON_9   28  /* abbreviated ninth month (Sep)                 */
  66. #define ABMON_10  29  /* abbreviated tenth month (Oct)                 */
  67. #define ABMON_11  30  /* abbreviated eleventh month (Nov)              */
  68. #define ABMON_12  31  /* abbreviated twelveth month (Dec)              */
  69.  
  70. #define MON_1     32  /* name of the first month (January)             */
  71. #define MON_2     33  /* name of the second month (February)           */
  72. #define MON_3     34  /* name of the third month (March)               */
  73. #define MON_4     35  /* name of the fourth month (April)              */
  74. #define MON_5     36  /* name of the fifth month (May)                 */
  75. #define MON_6     37  /* name of the sixth month (June)                */
  76. #define MON_7     38  /* name of the seventh month (July)              */
  77. #define MON_8     39  /* name of the eighth month (August)             */
  78. #define MON_9     40  /* name of the ninth month (September)           */
  79. #define MON_10    41  /* name of the tenth month (October)             */
  80. #define MON_11    42  /* name of the eleventh month (November)         */
  81. #define MON_12    43  /* name of the twelveth month (December)         */
  82.  
  83. #define RADIXCHAR 44  /* radix character                               */
  84. #define THOUSEP   45  /* separator for thousands                       */
  85. #define YESSTR    46  /* affiramitive response for yes/no queries      */
  86. #define NOSTR     47  /* negative response for yes/no queries          */
  87. #define CRNCYSTR  48  /* currency symbol; - leading, + trailing        */
  88. #define CODESET   49  /* codeset name                                  */
  89.  
  90.  
  91. #endif   /* _H_LANGINFO */