Lines Matching defs:locale
168 ** locale can be saved and then restored.
171 _uu_setlocale(int category, char *locale)
176 /* get current locale */
180 /* allocate space for the current locale and copy it */
188 /* now set the new locale */
189 if (setlocale(category, locale) == NULL) {
197 ** Reset the previous locale, free memory
200 _uu_resetlocale(int category, char *locale)
202 if (locale == NULL)
204 (void) setlocale(category, locale);
205 free(locale);