i work on a k64f, MQX 4.2.
There is a way to recover the handle of a opened file if i miss the fopen() return handle?
I have the pathname and the filename.
File handle is a memory allocated for the given FILE_PTR from system memory pool. Theoretically, it is possible to get it by walking through kernel data. Unfortunately MFS does not provide this API to do that. You can save the fopen returned file handle into a global variable. I don't think it will be missed .:)
Have a great day,Daniel
Retrieving data ...