Re: Question about large file support

2003-08-18 Thread Corinna Vinschen
On Sun, Aug 17, 2003 at 02:59:13PM -0700, ColinB wrote: > Thanks Corinna, fseeko is new to me! > > So for 64 bit file offsets I can use either: > >open/lseek/close > > or > >fopen/fseeko/ftello/fclose > > But in both cases do I have to specify #define _FILE_OFFSET_BITS 64 to > make off

Re: Question about large file support

2003-08-17 Thread ColinB
Thanks Corinna, fseeko is new to me! So for 64 bit file offsets I can use either: open/lseek/close or fopen/fseeko/ftello/fclose But in both cases do I have to specify #define _FILE_OFFSET_BITS 64 to make off_t 64 bit, or will off_t be 64 bits by default in cygwin 1.5.0 ? Colin __

Re: Question about large file support

2003-08-17 Thread Corinna Vinschen
On Sun, Aug 17, 2003 at 07:24:14AM -0700, ColinB wrote: > I believe that large file support is in version 1.5.0 of Cygwin but Yes. > Are there separate 64-bit versions of fopen/fseek/... called > fopen64/fseek64 as on some platforms, or is there some sort of No. > "transparent" support where yo

Question about large file support

2003-08-17 Thread ColinB
I am fairly new to Cygwin (occasionally using an old version) but I now need to write a program which can fseek() through very large AVI files (12 GB or even larger). I believe that large file support is in version 1.5.0 of Cygwin but can't find any details of how to use it. Are there separate 64