Add swidth definition for wchar stuff

Submitted by:	clkao@clkao.org
Reviewed by:	keichii
Obtained from:	NetBSD
MFC after:	1 month
This commit is contained in:
Michael C . Wu 2002-08-16 13:42:59 +00:00
parent ea6027a8e1
commit c3121a34a0
2 changed files with 12 additions and 0 deletions

View File

@ -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);

View File

@ -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);