localeconv.3c (2010 09)

l
localeconv(3C) localeconv(3C)
char p_cs_precedes
Set to 1 or 0 if the
currency_symbol precedes or succeeds the value for a non-
negative formatted monetary quantity.
char p_sep_by_space
Set to a value indicating the separation of the
currency_symbol, the sign string, and
the value of a non-negative formatted monetary quantity.
char n_cs_precedes
Set to 1 or 0 if the currency_symbol
precedes or succeeds the value for a negative for-
matted monetary quantity.
char n_sep_by_space
Set to a value indicating the separation of the
currency_symbol, the sign string, and
the value of a negative formatted monetary quantity.
char p_sign_posn
Set to a value indicating the positioning of the
positive_sign for a non-negative for-
matted monetary quantity.
char n_sign_posn
Set to a value indicating the positioning of the
negative_sign for a negative format-
ted monetary quantity.
The following members are also available to UNIX 2003 conforming applications:
char int_p_cs_precedes
Set to 1 or 0 if the int_currency_symbol
precedes or succeeds the value for a non-
negative internationally formatted monetary quantity.
char int_p_sep_by_space
Set to a value indicating the separation of the int_currency_symbol
, the sign string,
and the value of a non-negative internationally formatted monetary quantity.
char int_n_cs_precedes
Set to 1 or 0 if the int_currency_symbol
precedes or succeeds the value for a nega-
tive internationally formatted monetary quantity.
char int_n_sep_by_space
Set to a value indicating the separation of the int_currency_symbol
, the sign string,
and the value of a negative internationally formatted monetary quantity.
char int_p_sign_posn
Set to a value indicating the positioning of the positive_sign
for a non-negative
internationally formatted monetary quantity.
char int_n_sign_posn
Set to a value indicating the positioning of the negative_sign
for a negative interna-
tionally formatted monetary quantity.
The numeric value of each byte of
grouping and mon_grouping is interpreted according to the fol-
lowing:
CHAR_MAX
No further grouping is to be performed.
0 The previous byte is to be repeatedly used for the remainder of the digits.
other The value is the number of digits that comprise the current group. The next byte is
examined to determine the size of the next group of digits to the left of the current group.
The values of
p_sep_by_space, n_sep_by_space, int_p_sep_by_space, and
int_n_sep_by_space are interpreted according to the following:
0 No space separates the currency symbol and value.
1 If the currency symbol and sign string are adjacent, a space separates them from the
value; otherwise, a space separates the currency symbol from the value.
2 If the currency symbol and sign string are adjacent, a space separates them; otherwise, a
space separates the sign string from the value.
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010