Test for background process

MLY.G.SHADES%MIT-OZ at MIT-MC.ARPA MLY.G.SHADES%MIT-OZ at MIT-MC.ARPA
Mon Feb 4 18:41:14 AEST 1985


actually the way to check for i/o redirection is to compare the stdin
/ stdout filenames to the stderr filename.  i forget the function call
at the moment (it's been a while) but the great thing about stderr is
that it is supposed to stay the same as the initial stdout throughout
a prog.

                          shades at mit-oz.arpa



More information about the Comp.lang.c mailing list