Mail Archives: djgpp-workers/1999/02/03/05:54:03
Hmm... I seem to have a problem. _llseek() is supposed to return the
file pointer's (or whatever it's called) position. As there doesn't
seem to be any support for seek with bigger than 2^31 offsets,
_llseek() will have to call lseek() (potentially) several times. But
how is _llseek() to know what to return as lseek() only returns values
<= 2^31.
Is there some internal libc structure containing the current file
pointer? Is this declared long long (more than 32 bits anyway)?
Is it ok if I add such a thing if there isn't?
Right,
MartinS
- Raw text -