delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/12/06:05:25

Date: Sat, 12 Sep 1998 12:19:38 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: "Mark E." <snowball3 AT usa DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Wide string functions available
In-Reply-To: <199809111635.QAB43184@out5.ibm.net>
Message-ID: <Pine.A32.3.91.980912121507.32328A-100000@ieva05.lanet.lv>
MIME-Version: 1.0


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019