Redirection of stderr

Larry larry at dprmpt.UUCP
Thu Mar 14 08:47:01 AEST 1991


In a C program, how can I change stderr from wherever it is directed
via the command line to a file, then later revert it back to it's 
original destination?

Seems like it would be possible, but I can't think how to do it.

Thanks,
-- 
* - * - * - * - * - * - * - * - *
* Larry Johnson                 *
* UUCP: ...!uunet!dprmpt!larry  *
* - * - * - * - * - * - * - * - *



More information about the Comp.unix.wizards mailing list