Sign in
chromium
/
external
/
github.com
/
kripken
/
emscripten
/
refs/heads/executable_output
/
.
/
test
/
other
/
test_xlocale.c
blob: ebe2ec6d98d64deb639c4c34173da1a3a3002248 [
file
] [
edit
]
#include
<xlocale.h>
#include
<stdio.h>
int
main
()
{
const
char
*
input
=
"100001"
;
locale_t
l
=
newlocale
(
LC_ALL_MASK
,
"C"
,
NULL
);
printf
(
"strtoll_l: %lld\n"
,
strtoll_l
(
input
,
NULL
,
10
,
l
));
return
0
;
}