Xref: utzoo comp.unix.questions:31736 comp.unix.programmer:1927 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decprl!decprl!boyd From: boyd@prl.dec.com (Boyd Roberts) Newsgroups: comp.unix.questions,comp.unix.programmer Subject: Re: How do I tell if STDIN is a PIPE? Message-ID: <1991May28.092716.10528@prl.dec.com> Date: 28 May 91 09:27:16 GMT References: <1991May26.172328.713@arizona.edu> <1991May27.022727.9860@leland.Stanford.EDU> Sender: news@prl.dec.com (USENET News System) Reply-To: boyd@prl.dec.com (Boyd Roberts) Organization: Digital Equipment Corporation - Paris Research Laboratory Lines: 12 In article <1991May27.022727.9860@leland.Stanford.EDU>, dkeisen@leland.Stanford.EDU (Dave Eisen) writes: > ... If > you seek and it fails and errno is ESPIPE, you know that stdin is > a pipe. > Do me a favour, man stat(2). Boyd Roberts boyd@prl.dec.com ``When the going gets wierd, the weird turn pro...''