mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
12 lines
201 B
C
12 lines
201 B
C
![]() |
/*
|
||
|
* 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, "");
|
||
|
}
|