I was wondering if it's possible to pass a stream to a function?
void print_stuff(int i, STREAM s)
sprintf(s, "%d", i);
This is because I've got a function that I'd like to be able to use to print to the screen sometimes, and some other times to a different stream. I know I can just make a separate function for it, but it seems like this would be handy to do.