These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / scripts / check-lc_ctype.c
diff --git a/kernel/scripts/check-lc_ctype.c b/kernel/scripts/check-lc_ctype.c
new file mode 100644 (file)
index 0000000..9097ff5
--- /dev/null
@@ -0,0 +1,11 @@
+/*
+ * 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, "");
+}