Hi ppl,
This is my debut in this forum and i'm hoping you ppl will be able to help me out. I'm working in a embedded platform where open(), read(), lseek() are not supported by the filesystem that i've. I've tried to replace these by fopen(), fread() and fseek(). But its giving me issues like at times not being able to seek to certain sectors and so on. (I'm trying to read a dvd and parse its information). The same things happen if i run the modified code in linux. Can someone specify as to how different are these functions and if i should consider any important things while doing the switch from the non-standard ones to the standard ones.
What i cant understand is that the fseek uses FILE *fd while the lseek uses int fd and how are they going to match?
If anyone needs any more information on the problem, please ask. I stopped here coz i dint want to distract you with more information.
Thanks.
Karthik.



LinkBack URL
About LinkBacks




