using fopen() for reading hard drives.

i was trying to open hard drive for raw reading and writing, fopen() successfully opens it but when i tried to jump to specific offset on that drive using fseek() the stream doesn't moves it always reads from 0x0 .
but if i try to jump to a offset where a file is located like $MFT on a NTFS drive fseek() works just fine.
why is it happening?
Last edited on
problem solved, just needed to open it in binary mode.
Topic archived. No new replies allowed.