Hackerz, I have one stream, that writes to stdout. Now I want to log it, works fine with a different pointer, but what's the best way to duplicate the existing stream that already is printed to stdout to a logfile? Of course, 2 fprintfs is no pr0n at all :)
greetz pr0n@ -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
