Sign in
android-kvm
/
linux
/
fa19a769f82fb9a5ca000b83cacd13fcaeda51ac
/
.
/
scripts
/
check-lc_ctype.c
blob: 9097ff5449fb7a4a54e72b87a9b74b966422ebb3 [
file
] [
log
] [
blame
]
Ben Hutchings
b479bfd0
2015-09-28 01:09:52 +0100
[
diff
] [
blame
]
1
/*
2
* Check that a specified locale works as LC_CTYPE. Used by the
3
* DocBook build system to probe for C.UTF-8 support.
4
*/
5
6
#include
<locale.h>
7
8
int
main
(
void
)
9
{
10
return
!
setlocale
(
LC_CTYPE
,
""
);
11
}