]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - scripts/check-lc_ctype.c
Merge tag 'pwm/for-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[mirror_ubuntu-artful-kernel.git] / scripts / check-lc_ctype.c
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 }