Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE int32_t U_EXPORT2 u_fsetlocale ( UFILE file,
const char *  locale 
)

Set the locale whose conventions will be used to format and parse output.

Parameters:
locale The locale whose conventions will be used to format and parse output.
file The UFILE to query.
Returns:
NULL if successful, otherwise a negative number. ICU 3.0

Definition at line 262 of file ufile.c.

{
    u_locbund_close(&file->str.fBundle);

    return u_locbund_init(&file->str.fBundle, locale) == 0 ? -1 : 0;
}


Generated by  Doxygen 1.6.0   Back to index