Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

catgets(3C)

catopen(3C)

localeconv(3C)

nl_langinfo(3C)

strftime(3C)

strftime(4)

nl_types(5)

chrtbl(1M)

gencat(1M)

montbl(1M)

langinfo(5)

NAME

langinfo − language information constants

SYNOPSIS

#include <langinfo.h>

DESCRIPTION

This header file 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 ’febuary’

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(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. 

The items YESSTR and NOSTR are retrieved from a special message catalog named langinfo which should be generated for each locale supported and installed in the appropriate directory [see catopen(3C) and gencat(1M)].  Message 1 in set 1 should be YESSTR, and message 2 in set 1 should be NOSTR. 

All other items are as returned by strftime. 

SEE ALSO

catgets(3C), catopen(3C), localeconv(3C), nl_langinfo(3C), strftime(3C), strftime(4), nl_types(5). 
chrtbl(1M), gencat(1M), montbl(1M) in the CX/UX Administrator’s Reference Manual. 

CX/UX Programmer’s Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026