langinfo(5) langinfo(5)
langinfo - language information constants
#include <langinfo.h>
This header file contains the constants used to identify items of
langinfo data. The mode of items is given in nl_types(5).
DAY_1 Locale's equivalent of ``sunday''
DAY_2 Locale's equivalent of ``monday''
DAY_3 Locale's equivalent of ``tuesday''
DAY_4 Locale's equivalent of ``wednesday''
DAY_5 Locale's equivalent of ``thursday''
DAY_6 Locale's equivalent of ``friday''
DAY_7 Locale's equivalent of ``saturday''
ABDAY_1 Locale's equivalent of ``sun''
ABDAY_2 Locale's equivalent of ``mon''
ABDAY_3 Locale's equivalent of ``tue''
ABDAY_4 Locale's equivalent of ``wed''
ABDAY_5 Locale's equivalent of ``thur''
ABDAY_6 Locale's equivalent of ``fri''
ABDAY_7 Locale's equivalent of ``sat''
MON_1 Locale's equivalent of ``january''
MON_2 Locale's equivalent of ``february''
MON_3 Locale's equivalent of ``march''
MON_4 Locale's equivalent of ``april''
MON_5 Locale's equivalent of ``may''
MON_6 Locale's equivalent of ``june''
Page 1
langinfo(5) langinfo(5)
MON_7 Locale's equivalent of ``july''
MON_8 Locale's equivalent of ``august''
MON_9 Locale's equivalent of ``september''
MON_10 Locale's equivalent of ``october''
MON_11 Locale's equivalent of ``november''
MON_12 Locale's equivalent of ``december''
ABMON_1 Locale's equivalent of ``jan''
ABMON_2 Locale's equivalent of ``feb''
ABMON_3 Locale's equivalent of ``mar''
ABMON_4 Locale's equivalent of ``apr''
ABMON_5 Locale's equivalent of ``may''
ABMON_6 Locale's equivalent of ``jun''
ABMON_7 Locale's equivalent of ``jul''
ABMON_8 Locale's equivalent of ``aug''
ABMON_9 Locale's equivalent of ``sep''
ABMON_10 Locale's equivalent of ``oct''
ABMON_11 Locale's equivalent of ``nov''
ABMON_12 Locale's equivalent of ``dec''
RADIXCHAR Locale's equivalent of ``.''
THOUSEP Locale's equivalent of ``,''
YESSTR Locale's equivalent of ``yes''
NOSTR Locale's equivalent of ``no''
CRNCYSTR Locale's currency symbol
D_T_FMT Locale's default format for date and time
D_FMT Locale's default format for the date
Page 2
langinfo(5) langinfo(5)
T_FMT Locale's default format for the time
AM_STR Locale's equivalent of ``AM''
PM_STR Locale's equivalent of ``PM''
CODESET X/Open Release 4, version 2 locale's code set name.
T_FMT_AMPM X/Open Release 4, version 2 locales's ``AM'' or ``PM''
time format string.
ERA X/Open Release 4, version 2 locales's ERA description
segments.
ERA_D_FMT X/Open Release 4, version 2 locales's ERA date format
string.
ERA_D_T_FMT X/Open Release 4, version 2 locales's ERA date and time
format string.
ERA_T_FMT X/Open Release 4, version 2 locales's ERA time format
string.
ALT_DIGITS X/Open Release 4, version 2 locales's alternative symbols
for digits.
YESEXPR X/Open Release 4, version 2 locales's affirmative response
expression.
NOEXPR X/Open Release 4, version 2 locales's negative response
expression.
This information is retrieved by nl_langinfo(3C).
The items CRNCYSTR, RADIXCHAR, and THOUSEP are extracted from the fields
currency_symbol, decimal_point, and thousands_sep in the structure
returned by localeconv(3C).
The items T_FMT, D_FMT, D_T_FMT, YESSTR, and NOSTR are retrieved from a
special message catalog named Xopen_info which should be generated for
each locale supported and installed in the appropriate directory (see
mkmsgs(1) and gettxt(3C)). This catalog should have the messages in the
order T_FMT, D_FMT, D_T_FMT, YESSTR, and NOSTR.
All other items are as returned by strftime(3C).
mkmsgs(1), gettxt(3C), localeconv(3C), nl_langinfo(3C), strftime(3C),
cftime(4), nl_types(5)
PPPPaaaaggggeeee 3333 [ Back ]
|