Make a file pointer read/write to an in-memory location

If your operating system provides fmemopen,
probably it will meet your purpose.

Leave a Comment