FILE* and streams
Posted on 2004-08-30
I'm making use of a static library that makes use of stdout and stderr as input to different functions that require a FILE* as a parameter. I would like to make use of these functions, but do not want to create a temporary, ( or permanent for that matter ), file on the drive to make use of the functions. What can I do to pass a stream into this function so that I can read the output from the function?