The following characteristics of a hosted environment are locale-specific and are required to be documented by the implementation:
Additional members of the source and execution character sets beyond the basic character set (5.2.1).
Locale-specific (no extension in C locale).
The presence, meaning, and representation of additional multibyte characters in the execution character set beyond the basic character set (5.2.1.2).
There are no multibyte characters present in the execution characters set in the default or C locales.
The shift states used for the encoding of multibyte characters (5.2.1.2).
There are no shift states.
The direction of writing of successive printing characters (5.2.2).
Printing is always left to right.
The decimal-point character (7.1.1).
Locale-specific (“.” in C locale).
The set of printing characters (7.4, 7.25.2).
Locale-specific (“.” in C locale).
The set of control characters (7.4, 7.25.2).
The control character set is comprised of horizontal tab, vertical tab, form feed, alert, backspace, carriage return, and new line.
The sets of characters tested for by the isalpha, isblank, islower, ispunct, isspace, isupper, iswalpha, iswblank, iswlower, iswpunct, iswspace, or iswupper functions (7.4.1.2, 7.4.1.3, 7.4.1.7, 7.4.1.9, 7.4.1.10, 7.4.1.11, 7.25.2.1.2, 7.25.2.1.3, 7.25.2.1.7, 7.25.2.1.9, 7.25.2.1.10, 7.25.2.1.11).
See the isalpha(3C) and iswalpha(3C) man pages for descriptions of isalpha() and iswalpha() as well as information on the related macros mentioned above. Note that their behaviors can be modified by changing locale.
The native environment (7.11.1.1).
The native environment is specified by the LANG and LC_* environment variables as described in the setlocale(3C) man page. However, if these environment variables are not set, the native environment is set to the C locale.
Additional subject sequences accepted by the numeric conversion functions (7.20.1, 7.24.4.1).
The radix character is defined in the program’s locale (category LC_NUMERIC), and may be defined as something other than a period (.).
The collation sequence of the execution character set (7.21.4.3, 7.24.4.4.2).
Locale-specific (ASCII collation in C locale).
The contents of the error message strings set up by the strerror function (7.21.6.2).
If the application is linked with -lintl, then messages returned by this function are in the native language specified by the LC_MESSAGES locale category. Otherwise they are in the C locale.
The formats for time and date (7.23.3.5, 7.24.5.1).
Locale-specific. Formats for the C locale are shown in the tables below.
The names of the months are specified below:
January |
May |
September |
February |
June |
October |
March |
July |
November |
April |
August |
December |
The names of the days of the week are specified below:
Table C–6 Days and Abbreviated Days of the Week
Days |
Abbreviated Days |
---|---|
Sunday Thursday |
Sun Thu |
Monday Friday |
Mon Fri |
Tuesday Saturday |
Tue Sat |
Wednesday |
Wed |
The format for time is:
%H:%M:%S
The format for date is:
%m/%d/ -Xc mode.
The formats for AM and PM designation are: AM PM
Character mappings that are supported by the towctrans function (7.25.1).
The rules of the coded character set defined by character mapping information in the program’s locale (category LC_CTYPE) may provide for character mappings other than tolower and toupper. Refer to the Solaris Internationalization Guide For Developers, for details of available locales and their definitions.
Character classifications that are supported by the iswctype function (7.25.1).
See the Solaris Internationalization Guide For Developers, for details of available locales and any non-standard reserved character classifications.