Kernel  |  4.4

下载     查看原文件
C++程序  |  12行  |  201 B
/*
 * 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, "");
}