How to find out if stdout is piped?

phd_ivo at gsbacd.uchicago.edu phd_ivo at gsbacd.uchicago.edu
Wed Feb 14 16:22:09 AEST 1990


**************************************************

In Mach (a BSD 4.3 clone), is there an easy way to
find out if stdout is hooked to a pipe, or redirected
into a file?

/ivo welch	ivo at next.agsm.ucla.edu



More information about the Comp.unix.questions mailing list