Path: utzoo!attcan!uunet!munnari.oz.au!uhccux!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: How to find out if stdout is piped? Message-ID: <12137@smoke.BRL.MIL> Date: 14 Feb 90 15:38:11 GMT References: <7638@tank.uchicago.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 4 In article <7638@tank.uchicago.edu> phd_ivo@gsbacd.uchicago.edu writes: >find out if stdout is hooked to a pipe, or redirected into a file? use fstat(1,...)