A pipe, a binary pipe...

Christopher G. Faylor cgf@cygnus.com
Sun Jan 31 23:52:00 GMT 1999


In article <001801be39b8$1caf5190$016464c0.cygnus.gnu-win32@susato.demon.co.uk>,
Max Hadley <max@susato.demon.co.uk> 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
-- 
cgf@cygnus.com
http://www.cygnus.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list