I have some kind of reader that only has a file descriptor (FILE *). Another process continues to write to the same file that I do not have.
Now that another process is adding images to this file, it is likely that soon the file size will exceed the 4 GB limit.
The reading process reads this file using the descriptor, offset, and length of the image file, which can be found from some database.
My question is how can the reader read a piece from a file that will be present after 4 GB.
I am working on a Win32 machine.
EDIT: I am also working on a FreeBSD machine.
source share