I have a library which consumes a FILE *
and outputs data to another FILE *
.
I want to handle both the input to this library and the output from this library in memory without reading/writing to/from a file on the disk.
We're doing this in iOS - so running the library as a separate app and using stdin
/stdout
isn't (as far as I know) a viable option.