Hey please don\'t mind if I am asking trivial question, but, please can somebody help me with this..
Current file position doesn't change after a call to pread/pwrite.
pread
pwrite
Also because you don't need to call lseek to change the current file position pread/pwrite avoid potential race conditions when multiple threads are involved.
lseek