Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c88 char *pd_locale; /* target process locale */ member
490 char *pd_locale; in lookup_locale() local
545 pd_locale = safe_strdup(lcs[0]); in lookup_locale()
548 pd_locale = safe_zalloc(len + 1); in lookup_locale()
549 (void) snprintf(pd_locale, len + 1, "/%s/%s/%s/%s/%s/%s", in lookup_locale()
552 datap->pd_locale = pd_locale; in lookup_locale()
940 if ((strcmp(datap->pd_locale, "C") == 0) || in setup_conversions()
941 (strcmp(datap->pd_locale, "POSIX") == 0)) { in setup_conversions()
949 if (setlocale(LC_ALL, datap->pd_locale) == NULL) { in setup_conversions()
1114 (void) setlocale(LC_ALL, datap->pd_locale); in convert_str()