delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/26/11:12:49

Date: Sat, 26 Aug 2000 08:33:47 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <2593-Sat26Aug2000083347+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
CC: radsmail AT juno DOT com
In-reply-to: <1438-Fri25Aug2000185950+0300-eliz@is.elta.co.il>
Subject: Re: BAD strupr, BAD getw
References: <ue4cqsg0k83m0461605mnkssjo43odacen AT 4ax DOT com> <1438-Fri25Aug2000185950+0300-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 25 Aug 2000 18:59:51 +0200
> From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
> 
> getw *does* read only 16 bits from the file

Sorry, I was wrong about that: DJGPP's getw indeed reads a 32-bit int,
not a short.

The reason is that this function is compatible with other C libraries
(e.g., GNU glibc), not with Borland's 16-bit compilers.

- Raw text -


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