LANGINFO(F) UNIX System V
Name
langinfo - language information constants
Syntax
#include <langinfo.h>
Description
This is a header file that contains constants used to
identify items of nl_langinfo(S) data. (See nl_langinfo(S).)
The contents of the header file are shown below.
/*
* LC_CTYPE is not queried through this interface
*/
/*
* LC_NUMERIC items:
*/
#define RADIXCHAR 2000 /* Decimal separator */
#define THOUSEP 2001 /* Thousands separator */
/*
* LC_TIME items:
*/
#define D_FMT 3000 /* Date format only */
#define T_FMT 3001 /* Time format only */
#define PM_STR 3002 /* PM */
#define AM_STR 3003 /* AM */
#define D_T_FMT 3004 /* Date and time format */
#define DAY_1 3005 /* Sunday */
#define DAY_2 3006 /* Monday */
#define DAY_3 3007 /* Tuesday */
#define DAY_4 3008 /* Wednesday */
#define DAY_5 3009 /* Thursday */
#define DAY_6 3010 /* Friday */
#define DAY_7 3011 /* Saturday */
#define ABDAY_1 3012 /* Sun */
#define ABDAY_2 3013 /* Mon */
#define ABDAY_3 3014 /* Tue */
#define ABDAY_4 3015 /* Wed */
#define ABDAY_5 3016 /* Thu */
#define ABDAY_6 3017 /* Fri */
#define ABDAY_7 3018 /* Sat */
#define MON_1 3019 /* January */
#define MON_2 3020 /* February */
#define MON_3 3021 /* March */
#define MON_4 3022 /* April */
#define MON_5 3023 /* May */
#define MON_6 3024 /* June */
#define MON_7 3025 /* July */
#define MON_8 3026 /* August */
#define MON_9 3027 /* September */
#define MON_10 3028 /* October */
#define MON_11 3029 /* November */
#define MON_12 3030 /* December */
#define ABMON_1 3031 /* Jan */
#define ABMON_2 3032 /* Feb */
#define ABMON_3 3033 /* Mar */
#define ABMON_4 3034 /* Apr */
#define ABMON_5 3035 /* May */
#define ABMON_6 3036 /* Jun */
#define ABMON_7 3037 /* Jul */
#define ABMON_8 3038 /* Aug */
#define ABMON_9 3039 /* Sep */
#define ABMON_10 3040 /* Oct */
#define ABMON_11 3041 /* Nov */
#define ABMON_12 3042 /* Dec */
/*
* LC_COLLATE is not queried through this interface
*/
/*
* LC_MESSAGES items:
*/
#define YESSTR 5000 /* Affirmative reply to y/n question */
#define NOSTR 5001 /* Negative reply to yes/no question */
/*
* LC_MONETARY items:
*/
#define CRNCYSTR 6000 /* Currency symbol */
See Also
nl_types(F), nl_langinfo(S)
Value Added
langinfo is an extension of AT&T System V provided by the
Santa Cruz Operation.
(printed 2/15/90) LANGINFO(F)