summaryrefslogtreecommitdiffstats
path: root/include/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ctype.h')
-rw-r--r--include/ctype.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ctype.h b/include/ctype.h
index e5ec784..294ab23 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -65,6 +65,12 @@
#define _CTYPE_I 0x00080000L /* Ideogram */
#define _CTYPE_T 0x00100000L /* Special */
#define _CTYPE_Q 0x00200000L /* Phonogram */
+#define _CTYPE_SWM 0xe0000000L /* Mask to get screen width data */
+#define _CTYPE_SWS 30 /* Bits to shift to get width */
+#define _CTYPE_SW0 0x20000000L /* 0 width character */
+#define _CTYPE_SW1 0x00000000L /* 1 width character / default*/
+#define _CTYPE_SW2 0x80000000L /* 2 width character */
+#define _CTYPE_SW3 0xc0000000L /* 3 width character */
__BEGIN_DECLS
int isalnum(int);
OpenPOWER on IntegriCloud