summaryrefslogtreecommitdiff
path: root/locale/C-ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/C-ctype.c')
-rw-r--r--locale/C-ctype.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/locale/C-ctype.c b/locale/C-ctype.c
index 6daeb1d7cd..0b9f1a0bd2 100644
--- a/locale/C-ctype.c
+++ b/locale/C-ctype.c
@@ -20,6 +20,14 @@ Boston, MA 02111-1307, USA. */
#include "localeinfo.h"
#include <endian.h>
+/* This table's entries are taken from POSIX.2 Table 2-6
+ ``LC_CTYPE Category Definitionin the POSIX Locale''.
+
+ The `_nl_C_LC_CTYPE_width' array is a GNU extension.
+
+ In the `_nl_C_LC_CTYPE_class' array the value for EOF (== -1)
+ is set to always return 0 and the conversion arrays return EOF. */
+
const char _nl_C_LC_CTYPE_class[768] =
/* 0x80 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
/* 0x86 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"