O
orion30
I used the read function in order to read a big file.
I read the file by 1024 blocks in a WHILE statement.
During the read statement there is a problem.
Indeed, the read function return 1023 and
the difference before and after the call of this function
if I used tell function is 1024.
Apparently the seek is 1024 but the read is 1023
(it's not the end of the file at this step)
My code is something like
While ...
tell(...
read(...
tell(...
Some ideas ?
Best regards
I read the file by 1024 blocks in a WHILE statement.
During the read statement there is a problem.
Indeed, the read function return 1023 and
the difference before and after the call of this function
if I used tell function is 1024.
Apparently the seek is 1024 but the read is 1023
(it's not the end of the file at this step)
My code is something like
While ...
tell(...
read(...
tell(...
Some ideas ?
Best regards