#ifndef __LANGINFO_LOADED #define __LANGINFO_LOADED 1 #pragma __nostandard #include #if __CRTL_VER >= 60200000 /**** Supported starting with OpenVMS V6.2 ****/ /**************************************************************************** ** ** - language information constants ** ***************************************************************************** ** Header introduced by the X/Open CAE Specification, Issue 4 ***************************************************************************** ** ** Copyright 2000 Compaq Computer Corporation ** ** Compaq and the Compaq logo Registered in U.S. Patent and Trademark Office. ** ** Confidential computer software. Valid license from Compaq required for ** possession, use or copying. Consistent with FAR 12.211 and 12.212, ** Commercial Computer Software, Computer Software Documentation, and ** Technical Data for Commercial Items are licensed to the U.S. Government ** under vendor's standard commercial license. ** ****************************************************************************** */ #ifdef __cplusplus extern "C" { #endif #include #if __INITIAL_POINTER_SIZE # pragma __pointer_size __save # pragma __pointer_size 32 #endif /* ** Constants for items returned by nl_langinfo() routine */ #define CODESET 0 /* Codeset name */ /* ** Date and time formatting strings */ #define D_T_FMT 1 /* String for formatting date and time */ #define D_FMT 2 /* Date format string */ #define T_FMT 3 /* Time format string */ /* ** AM/PM strings */ #define AM_STR 4 /* Ante Meridian affix */ #define PM_STR 5 /* Post Meridian affix */ /* ** Names of the days of the week in full form ** Note: Must be consecutive */ #define DAY_1 6 #define DAY_2 7 #define DAY_3 8 #define DAY_4 9 #define DAY_5 10 #define DAY_6 11 #define DAY_7 12 /* ** Names of the days of the week in abbreviated form ** Note: Must be consecutive */ #define ABDAY_1 13 #define ABDAY_2 14 #define ABDAY_3 15 #define ABDAY_4 16 #define ABDAY_5 17 #define ABDAY_6 18 #define ABDAY_7 19 /* ** Names of the months of the year in full form ** Note: Must be consecutive */ #define MON_1 20 #define MON_2 21 #define MON_3 22 #define MON_4 23 #define MON_5 24 #define MON_6 25 #define MON_7 26 #define MON_8 27 #define MON_9 28 #define MON_10 29 #define MON_11 30 #define MON_12 31 /* ** Names of the months of the year in abbreviated form ** Note: Must be consecutive */ #define ABMON_1 32 #define ABMON_2 33 #define ABMON_3 34 #define ABMON_4 35 #define ABMON_5 36 #define ABMON_6 37 #define ABMON_7 38 #define ABMON_8 39 #define ABMON_9 40 #define ABMON_10 41 #define ABMON_11 42 #define ABMON_12 43 /* ** From LC_NUMERIC */ #define RADIXCHAR 44 /* Decimal point string */ #define THOUSEP 45 /* Thousands separator string */ /* ** From LC_MESSAGES */ #define YESSTR 46 /* Affirmative response string */ #define NOSTR 47 /* Negative response string */ #define CRNCYSTR 48 /* Currency symbol */ /* ** Items that are new to XPG4 */ #define T_FMT_AMPM 49 /* Time format with AM/PM string */ #define ERA 50 /* Era strings */ #define ERA_D_FMT 51 /* Era date format string */ #define ALT_DIGITS 52 /* Alternative symbols for digits */ #define YESEXPR 53 /* Affirmative response expression */ #define NOEXPR 54 /* Negative response expression */ #define ERA_T_FMT 55 /* Locale's alternative time format, */ /* corresponding to the %EX field descriptor */ #define ERA_D_T_FMT 56 /* Locale's alternative date and time format, */ /* corresponding to the %Ec field descriptor */ /* ** The function nl_langinfo() returns a pointer to memory allocated by the ** DEC C RTL. Ensure that regardless of user /pointer_size usage, this ** pointer is always a 32 bit pointer. */ char *nl_langinfo(nl_item __item); #if __INITIAL_POINTER_SIZE # pragma __pointer_size __restore #endif #ifdef __cplusplus } #endif #endif /* OpenVMS V6.2 or later */ #pragma __standard #endif /* __LANGINFO_LOADED */