Add imaxdiv, wcscoll, getdtablesize (#639)

This commit is contained in:
Hugues Morisset 2022-10-05 16:14:58 +02:00 committed by GitHub
parent e46ef487a8
commit f155205eb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 154 additions and 0 deletions

View file

@ -66,6 +66,9 @@ char *nl_langinfo_l(nl_item item, locale_t loc)
int idx = item & 65535;
const char *str;
if (!loc)
return "";
if (item == CODESET) return loc->cat[LC_CTYPE] ? "UTF-8" : "ASCII";
/* _NL_LOCALE_NAME extension */