home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / i18nv102.zip / INCLUDE / LANGINFO.H < prev    next >
C/C++ Source or Header  |  1995-08-28  |  4KB  |  89 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. ** Notes:
  13. **/
  14.  
  15. #ifndef     _H_LANGINFO
  16.     #define _H_LANGINFO
  17.  
  18. #include <nl_types.h>
  19.  
  20. #ifdef __cplusplus
  21.    extern "C" {
  22. #endif
  23.  
  24.  
  25. char *          nl_langinfo(nl_item item);
  26.  
  27.  
  28.  
  29. #define D_T_FMT    1  /* string for formatting date and time           */
  30. #define D_FMT      2  /* string for formatting date                    */
  31. #define T_FMT      3  /* string for formatting time                    */
  32. #define AM_STR     4  /* string for a.m.                               */
  33. #define PM_STR     5  /* string for p.m.                               */
  34.  
  35. #define ABDAY_1    6  /* abbreviated first day of the week (Sun)       */
  36. #define ABDAY_2    7  /* abbreviated second day of the week (Mon)      */
  37. #define ABDAY_3    8  /* abbreviated third day of the week (Tue)       */
  38. #define ABDAY_4    9  /* abbreviated fourth day of the week (Wed)      */
  39. #define ABDAY_5   10  /* abbreviated fifth day of the week (Thu)       */
  40. #define ABDAY_6   11  /* abbreviated sixth day of the week (Fri)       */
  41. #define ABDAY_7   12  /* abbreviated seventh day of the week (Sat)     */
  42.  
  43. #define DAY_1     13  /* name of the first day of the week (Sunday)    */
  44. #define DAY_2     14  /* name of the second day of the week (Monday)   */
  45. #define DAY_3     15  /* name of the third day of the week (Tuesday)   */
  46. #define DAY_4     16  /* name of the fourth day of the week (Wednesday)*/
  47. #define DAY_5     17  /* name of the fifth day of the week (Thursday)  */
  48. #define DAY_6     18  /* name of the sixth day of the week (Friday)    */
  49. #define DAY_7     19  /* name of the seventh day of the week (Saturday)*/
  50.  
  51. #define ABMON_1   20  /* abbreviated first month (Jan)                 */
  52. #define ABMON_2   21  /* abbreviated second month (Feb)                */
  53. #define ABMON_3   22  /* abbreviated third month (Mar)                 */
  54. #define ABMON_4   23  /* abbreviated fourth month (Apr)                */
  55. #define ABMON_5   24  /* abbreviated fifth month (May)                 */
  56. #define ABMON_6   25  /* abbreviated sixth month (Jun)                 */
  57. #define ABMON_7   26  /* abbreviated seventh month (Jul)               */
  58. #define ABMON_8   27  /* abbreviated eighth month (Aug)                */
  59. #define ABMON_9   28  /* abbreviated ninth month (Sep)                 */
  60. #define ABMON_10  29  /* abbreviated tenth month (Oct)                 */
  61. #define ABMON_11  30  /* abbreviated eleventh month (Nov)              */
  62. #define ABMON_12  31  /* abbreviated twelveth month (Dec)              */
  63.  
  64. #define MON_1     32  /* name of the first month (January)             */
  65. #define MON_2     33  /* name of the second month (February)           */
  66. #define MON_3     34  /* name of the third month (March)               */
  67. #define MON_4     35  /* name of the fourth month (April)              */
  68. #define MON_5     36  /* name of the fifth month (May)                 */
  69. #define MON_6     37  /* name of the sixth month (June)                */
  70. #define MON_7     38  /* name of the seventh month (July)              */
  71. #define MON_8     39  /* name of the eighth month (August)             */
  72. #define MON_9     40  /* name of the ninth month (September)           */
  73. #define MON_10    41  /* name of the tenth month (October)             */
  74. #define MON_11    42  /* name of the eleventh month (November)         */
  75. #define MON_12    43  /* name of the twelveth month (December)         */
  76.  
  77. #define RADIXCHAR 44  /* radix character                               */
  78. #define THOUSEP   45  /* separator for thousands                       */
  79. #define YESSTR    46  /* affiramitive response for yes/no queries      */
  80. #define NOSTR     47  /* negative response for yes/no queries          */
  81. #define CRNCYSTR  48  /* currency symbol; - leading, + trailing        */
  82. #define CODESET   49  /* codeset name                                  */
  83.  
  84. #ifdef __cplusplus
  85.    }
  86. #endif
  87.  
  88. #endif   /* _H_LANGINFO */
  89.