Subject: Re: A pipe, a binary pipe...
From: [email-masked] (Christopher G. Faylor)

7 Jan 1999 16:10:36 GMT
Message-ID: <[email-masked]>
References: <[email-masked]>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <[email-masked]>,
Max Hadley <[email-masked]> wrote:
>Can I tell what the mode of an already-open stream is, or one tell to
>switch modes from text to binary? BTW, my $CYGWIN is "noglob noreset_com
>noenvcache". Come to that, a nice way of testing whether an open stream
>is a pipe would be usefull!

Use fstat, just like UNIX.

-chris
-- 
[email-masked]
http://www.cygnus.com/