delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/17/04:44:57

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200006170843.KAA27419@father.ludd.luth.se>
Subject: Re: Patch: sentinels for typedefs in headers
In-Reply-To: <Pine.LNX.4.10.10006161124360.8899-100000@acp3bf> from Hans-Bernhard Broeker at "Jun 16, 2000 11:35:44 am"
To: djgpp-workers AT delorie DOT com
Date: Sat, 17 Jun 2000 10:43:23 +0200 (MET DST)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Hans-Bernhard Broeker:
> EOF is supposed to be converted to WEOF. At the very least, that's what
> the conversion function, btowc(), is defined to do, by C99. Quoting
> the draft:
> 
>        [#3] The btowc returns WEOF if c has the  value  EOF  or  if
>        (unsigned  char)c  does  not  constitute  a valid (one-byte)
>        multibyte character in the initial shift state.   Otherwise,
>        it   returns   the  wide-character  representation  of  that
>        character.

This is the same as in C99.


Right,

							MartinS

- Raw text -


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