cURL / Mailing Lists / curl-library / Single Mail


Re: 64/32/16bit curl_off_t for DJGPP and WATCOMC

From: Yang Tse <>
Date: Tue, 3 Jun 2008 16:03:19 +0200

2008/6/3, Gisle Vanem wrote:

> 64-bit in large model? I don't think that works. I think you mean:
> #if defined(__WATCOMC__) && defined(__386__)
> typedef signed __int64 curl_off_t;

I knew that skimming a manual is not enough. Thanks for spotting this.

This user guide on
page 104 uses "%Ld" to format printing of the __int64 data type. Is
this correct or should something else be used ?

> [...]
> (which maps to 16 or 32-bit depending on model (small/large/flat))).

Could you tell us what are the 16 or 32-bit size mapping of 'long'
depending on the memory model for DJGPP and the size of "long int" for

Received on 2008-06-03