CFTIME(4) CFTIME(4)
NAME
cftime - language specific strings for converting times and
dates to ASCII
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).
or null.
⊕ default format for cftime, if the argument for cftime is zero
⊕ 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
Page 1 May 1989
CFTIME(4) CFTIME(4)
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) in the Programmer's Reference Manual.
Page 2 May 1989