Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
locale(4) OSS Shell and Utilities Reference Manual
nostr Specifies the locale’s equivalents of an acceptable negative response. This string is
accessible to applications through the nl_langinfo subroutine as nl_langinfo
(NOSTR).
The following is an example of a possible LC_MESSAGES category listed in a locale definition
source file:
LC_MESSAGES
#
yesexpr "<circumflex><left-square-bracket><y><Y><right-square-bracket>"
noexpr "<circumflex><left-square-bracket><n><N><right-square-bracket>"
yesstr "<y>:<Y>:<y><e><s>"
nostr "<n>:<N>:<n><o>"
#
END LC_MESSAGES
The LC_MONETARY Category
The LC_MONETARY category of a locale definition source file defines rules and symbols for
formatting monetary numeric information. This category begins with an LC_MONETARY
category header and terminates with an END LC_MONETARY category trailer.
All operands for the LC_MONETARY category keywords are defined as string or integer
values. String values are bounded by ""(double quotes). All values are separated from the key-
word they define by one or more spaces. Two adjacent ""(double quotes) indicate an undefined
string value. A -1 (negative one) indicates an undefined integer value. The following keywords
are recognized in the LC_MONETARY category:
copy Specifies the name of an existing locale to be used as the definition of this category. If
you include a copy statement, no other keyword shall be specified.
int_curr_symbol
Specifies the string used for the international currency symbol. The operand for the
int_curr_symbol keyword is a 4-character string. The first three characters contain
the alphabetic international currency symbol. The fourth character specifies a charac-
ter separator between the international currency symbol and a monetary quantity.
currency_symbol
Specifies the string used for the local currency symbol.
mon_decimal_point
Specifies the string used for the decimal delimiter used to format monetary quantities.
mon_thousands_sep
Specifies the character separator used for grouping digits to the left of the decimal del-
imiter in formatted monetary quantities.
mon_grouping
Specifies a string that defines the size of each group of digits in formatted monetary
quantities. The operand for the mon_grouping keyword consists of a sequence of
semicolon-separated integers. Each integer specifies the number of digits in a group.
The initial integer defines the size of the group immediately to the left of the decimal
delimiter. The following integers define succeeding groups to the left of the previous
group. If the last digit is a 0 (zero), subsequent grouping is performed using the previ-
ous digit. If the last digit is nonzero, grouping is only performed for the number of
groups specified.
The following is an example of the interpretation of the mon_grouping statement.
Assuming the value to be formatted is 123456789 and the operand for the
11−18 Hewlett-Packard Company 527188-007