Re: 64/32/16bit curl_off_t for DJGPP and WATCOMC
Date: Tue, 3 Jun 2008 15:37:05 +0100
Gisle Vanem wrote:
> "Jamie Lokier" <jamie_at_shareable.org> wrote:
> >Historically, before the invention of off_t, long was used for file
> >offsets not int. Is DOS lseek/fseek using int or long?
> True for lseek(). But 'long int' for fseek() on Watcom:
> _WCRTLINK extern int fseek( FILE *__fp, long int __offset, int __whence
> and djgpp:
> int fseek(FILE *_stream, long _offset, int _mode);
'long int' is exactly the same as 'long'.
It's just a different way of writing the same type.
Received on 2008-06-03