Problem with fseek is:

int fseek(FILE *stream, long offset, int whence);

While lseek:

off_t lseek(int fd, off_t offset, int whence);

On 32 bit systems, fseek is limited to 2 GB. Usage of lseek allows for use
of off_t, which with mingw-64, will be 64 bit and allow for files > 2 GB.




2013/10/16 niXman <[email protected]>

> **
>
> Edscott Wilson писал 2013-10-16 18:53:
>
>  ... Since I require use of lseek() ...
>
>  man fseek
>
>
> --
> Regards, niXman
> ___________________________________________________
> Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit 
> Windows:http://sourceforge.net/projects/mingw-w64/
> ___________________________________________________
> Another online IDE: http://liveworkspace.org/
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>


-- 
------------------------------------------------------------------------------------
Dr. Edscott Wilson Garcia
Applied Mathematics and Computing
Mexican Petroleum Institute
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to