Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c122 char *fmh_locale; /* default program locale from environment */ member
303 h->fmh_locale = strdup(s ? s : "C"); in fmd_msg_init()
305 if (h->fmh_locale == NULL) in fmd_msg_init()
350 == FMD_MSG_TEMPLATE && strcmp(h->fmh_locale, "C") != 0) { in fmd_msg_init()
353 (void) setlocale(LC_ALL, h->fmh_locale); in fmd_msg_init()
367 free(h->fmh_locale); in fmd_msg_fini()
396 free(h->fmh_locale); in fmd_msg_locale_set()
397 h->fmh_locale = l; in fmd_msg_locale_set()
406 return (h->fmh_locale); in fmd_msg_locale_get()
1380 if (locale != NULL && strcmp(h->fmh_locale, locale) == 0) in fmd_msg_getitem()
[all …]