Home
last modified time | relevance | path

Searched refs:new_lc_time (Results 1 – 1 of 1) sorted by relevance

/external/libcups/cups/
Dlangprintf.c265 char new_lc_time[255], /* New LC_TIME value */ in _cupsSetLocale() local
287 strlcpy(new_lc_time, lc_time, sizeof(new_lc_time)); in _cupsSetLocale()
288 if ((charset = strchr(new_lc_time, '.')) == NULL) in _cupsSetLocale()
289 charset = new_lc_time + strlen(new_lc_time); in _cupsSetLocale()
291 strlcpy(charset, ".UTF-8", sizeof(new_lc_time) - (size_t)(charset - new_lc_time)); in _cupsSetLocale()
294 strlcpy(new_lc_time, "C", sizeof(new_lc_time)); in _cupsSetLocale()
296 setlocale(LC_TIME, new_lc_time); in _cupsSetLocale()