Subject: Re: Type for wide characters
To: None <J.D.Coleman@newcastle.ac.uk>
From: Noriyuki Soda <soda@sra.co.jp>
List: tech-userlevel
Date: 10/01/1999 21:00:19
> The SUS spec says :
>
> chtype contains a character, attributes and a colour-pair
>
> so, I have used the bottom 16 bits for the character and the top 16 for
> the attribute flags. I was hoping that I'd be able to share the attribute
> flags between `normal' and wide characters. It's not a major problem if not
> though.
>
> So, any preference for the type for wchar_t, chtype and attr_t?
Probably, int (32bit on both ILP32 and LP64 systems) for wchat_t/attr_t,
and long long for chtype.
I hope that Klaus Klein corrects me, if this has problem. :)
--
soda