mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
Add imaxdiv, wcscoll, getdtablesize (#639)
This commit is contained in:
parent
e46ef487a8
commit
f155205eb0
5 changed files with 154 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue