FILE

Is it possible to use information in FILE to locate first data byte in RAM if the file system created in RAM?
No (unless you're writing a kernel mode driver), but it is possible to map a file into virtual address space of your program, regardless of the kind of file system it's on, so that it would *appear* as if it's a regular array of bytes in RAM.

(this functionality is not part of core C or C++, but it is available in boost and in every OS I used, read about memory mapped files)
Last edited on
Topic archived. No new replies allowed.