curl-library
Re: 64/32/16bit curl_off_t for DJGPP and WATCOMC
From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Tue, 03 Jun 2008 14:58:06 +0200
Date: Tue, 03 Jun 2008 14:58:06 +0200
"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);
--gv
Received on 2008-06-03