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