intlCloseLocale

Terminates use of a given locale item.

Synopsis

Err intlCloseLocale(Item locItem);

Description

This function concludes the title's use of the given locale item. After this call is made, the locale item may no longer be used.

Arguments

locItem
The locale item, as obtained from intlOpenLocale().

Return Value

> = 0
Item successfully closed.
INTL_ERR_BADITEM
locItem was not an existing locale item.
INTL_ERR_CANTCLOSEITEM
At attempt was made to close this locale item more often than it was opened.

Implementation

Macro implemented in intl.h V24.

Associated Files

intl.h

See Also

intlOpenLocale(), intlLookupLocale()