title: How can I check the current offset position in a file using lseek?
body: <p>Am traversing a text file from the end to the start using lseek() in linux.
  How can I check if the offset position has reached the start of the file.</p>
  
  <p>PS am not looking for a solution using the file size to keep track of the offset manually.</p>