I\'m trying to get my head around the two files mentioned in the title. I\'ve looked up what the bits are; however, I\'m failing to understand how to extract useful info fro
Oooh K, the index was correct but comparing off64_t o (8bytes) with long index was interpreting o wrong hence why I was getting that error. Ha! this was a stupid mistake. So adding the appropriate header took care of that.
Missing header :-/ sigh fixes the issue of comparing off64_t with a unsigned long.