Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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

From: Gisle Vanem <>
Date: Tue, 03 Jun 2008 14:58:06 +0200

"Jamie Lokier" <> 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);

Received on 2008-06-03

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET