strncasecmp_l
int strncasecmp_l(const char *, const char *, size_t, locale_t);
if (strncasecmp_l(buf, tptr->am, len, locale) == 0) {
if (strncasecmp_l(buf, tptr->pm, len, locale) == 0) {
if (strncasecmp_l(buf, tptr->weekday[i],
if (strncasecmp_l(buf, tptr->wday[i],
if (strncasecmp_l(buf,
if (strncasecmp_l(buf, tptr->month[i],
if (strncasecmp_l(buf, tptr->mon[i],
return strncasecmp_l(s1, s2, n, __get_locale());
} while (strncasecmp_l(s, find, len, locale) != 0);