Sign in
gem5
/
arm
/
linux
/
df3a57105c04a7bfe0874316a9e6ec968c35a6f5
/
.
/
scripts
/
check-lc_ctype.c
blob: 9097ff5449fb7a4a54e72b87a9b74b966422ebb3 [
file
] [
log
] [
blame
]
/*
* Check that a specified locale works as LC_CTYPE. Used by the
* DocBook build system to probe for C.UTF-8 support.
*/
#include
<locale.h>
int
main
(
void
)
{
return
!
setlocale
(
LC_CTYPE
,
""
);
}