Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)
Guardian Native C Library Calls (j - m) localeconv(3)
_TANDEM_SOURCE, do not specify the leading two underscore characters.
The elements of grouping and mon_grouping are interpreted according to the following:
CHAR_MAX No further grouping is to be performed.
0 The previous element is to be repeatedly used for the remainder of the digits.
other The integer value is the number of digits that comprise the current group. The
next element is examined to determine the size of the next group of digits to the
left of the current group.
The value of p_sign_posn and n_sign_posn is interpreted according to the following:
0 Parentheses surround the quantity and currency_symbol or
int_currency_symbol
.
1 The sign string precedes the quantity and currency_symbol or
int_currency_symbol.
2 The sign string succeeds the quantity and currency_symbol or
int_currency_symbol.
3 The sign string immediately precedes the currency_symbol or
int_currency_symbol.
4 The sign string immediately succeeds the currency_symbol or
int_currency_symbol.
NOTES
Library functions do not call the localeconv() function.
RETURN VALUES
Upon successful completion, the localeconv() function returns a pointer to the filled-in object.
The structure pointed to by the return value will not be modified by the program, but can be
overwritten by a subsequent call to the localeconv() function. In addition, calls to the setlo-
cale() function with categories LC_ALL, LC_MONETARY,orLC_NUMERIC can overwrite
the contents of the structure.
RELATED INFORMATION
Functions: setlocale(3).
527192-007 Hewlett-Packard Company 4−23