Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cftime(4) — Interactive 3.2r4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctime(3C)

CFTIME(4)  —  

NAME

cftime − language specific strings

DESCRIPTION

The programmer can create one printable file per language.  These files must be kept in a special directory /lib/cftime.  If this directory does not exist, the programmer should create it.  The contents of these files are:

• abbreviated month names (in order)

• month names (in order)

• abbreviated weekday names (in order)

• weekday names (in order)

• default strings that specify formats for local time (%x) and
local date (%X). 

• default format for cftime, if the argument for cftime is zero or null. 

• AM (ante meridian) string

• PM (post meridian) string

Each string is on a line by itself.  All white space is significant.  The order of the strings in the above list is the same order in which the strings appear in the file shown below. 

EXAMPLE

/lib/cftime/usa_english

Jan

Feb

 ... 

January

February

 ... 

Sun

Mon

 ... 

Sunday

Monday

 ... 

%H:%M:%S

%m/%d/%y

%a %b %d %T %Z %Y

AM

PM

FILES

/lib/cftime − directory that contains the language specific printable files (create it if it does not exist)

SEE ALSO

ctime(3C). 

\*U  —  Version 1.0

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