I'm using a virtual file system (PhysFS) and I'd like the entire application to do file IO through this VFS (that includes third-party libraries).
How can I redirect all file IO operations (C FILE*
objects and C++ streams) through this VFS in Windows?
Also, a related question. Is file IO redirection a common feature of OS APIs? Will it be easy for me to port my application?