OpenCORE does support reading directly from a file via fopen. In
Android, the preferred way of passing information about a file across
processes is through file descriptors.

-Ravi

On Jan 12, 12:58 pm, Ming <[email protected]> wrote:
> Hi,
>   I have a question about opencore's file IO. I have traced the code
> and found in current architecture, opencore used a memory map to map a
> file descriptor to a memory address and formed a uri like 
> mem://base:offset:length
> to pass this address to OsclNativeFile::Open.
>   My question is why using memory map instead of using fopen,
> fclose ...etc to do file operation?
>
> Ming
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to