Mail Archives: djgpp-workers/1998/09/12/06:05:25
On Fri, 11 Sep 1998, Mark E. wrote:
> I've made the wide string equivalents to the <string.h> functions
> available from:
> http://members.xoom.com/snowball3/djgpp/
>
> Also there is the library of those functions, wchar.a, compiled with
> egcs 1.1. The only function changed from its <string.h>
> counterpart (aside from changing char to wchar_t that is) was
> wmemset since wchar_t is a long and memset.s was used to
> efficiently set bytes. Plus my knowledge of Intel assembly is rather
> poor!
>
Comparing with wide string support under Linux and AIX 4.1.5 (on RS6000)
I see that library mentioned above misses classification functions:
int iswalnum __P ((wint_t __wc));
int iswalpha __P ((wint_t __wc));
int iswcntrl __P ((wint_t __wc));
int iswdigit __P ((wint_t __wc));
and others.
Second I see that in Linux (libc-5.4.46) defines wctype_t as
unsigned short int instead of simply int
Andris
- Raw text -