I am trying to seek positions in a file. The file is about 5 meg in size, and in one process need to seek about 200 times. I am currently using fopen and fseek to do this and it is taking about 6-8 seconds to complete. I need to speed this up to be as fast as possible. Also when this is being done simultaneously by about 10 people it can take longer than 20 seconds per process. I would be grateful if you could advise me on any faster ways of doing this.