[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux 2.3/4 and large files



Joel Klecker <jk@espy.org> writes:

> At 12:30 +0100 1999-12-01, Goswin Brederlow wrote:
> >The code should be changed to use llseek on 32 Bit linux systems (if
> >llseek is present), which uses two 32 Bit values to specify the offset
> >and also reports back the size as a struct with 2 longs.
> 
> No it shouldn't, llseek is horribly evil, any new code should be using
> lseek64 or lseek with __FILE_OFFSET_BITS=64 defined.

Great, what version do I need for lseek64? I allways thought that
llseek was a stupid idea (the two longs and the structure pointer are
stupid).

May the Source be with you.
			Goswin


Reply to: