Contained Within
Find More Documentation
Featured Support Resources
| PDF로 이 문서 다운로드
NAME
- langinfo - language information constants
SYNOPSIS
-
#include <langinfo.h>
DESCRIPTION
- This header contains the constants used to identify items of langinfo data. The mode of items is given in nl_types.
-
-
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'
-
-
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
-
-
T_FMT
- Locale's default format for the time
-
-
AM_STR
- Locale's equivalent of 'AM'
-
-
PM_STR
- Locale's equivalent of 'PM'
- This information is retrieved by nl_langinfo.
- The items CRNCYSTR ,RADIXCHAR and THOUSEP are extracted from the fields currency_symbol, decimal_point and thousands_sep in the structure returned by
-
-
localeconv.
- 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 gettxt(3C) and mkmsgs(1) ]. 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.
SEE ALSO
-
mkmsgs(1), chrtbl(1M), gettxt(3C), localeconv(3C), nl_langinfo(3C), strftime(3C), nl_types(5)
|
|