Subject: Re: Enhanced locale support for 1.4
To: Noriyuki Soda <soda@sra.co.jp>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-misc
Date: 06/22/1999 06:57:54
On Tue, 22 Jun 1999 22:43:21 +0900 (JST)
Noriyuki Soda <soda@sra.co.jp> wrote:
> Both ISO-C standard Ammendment.1 and proposed C99 DIS says that if a
> user requests, FILE includes the current parse state which represents
> multibyte character to wide character translation state,
Well... you can cheat, here :-)
Since the internal members of FILE aren't available to users, you don't
*have* to keep this info *directly* in FILE. It would be another structure
logically associated with a given instance of a FILE. You could reference
these other structures in a hash table, using a FILE * as a value to hash
for the lookup.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>