Mail Archives: cygwin/1999/01/07/16:10:36
In article <001801be39b8$1caf5190$016464c0 DOT cygnus DOT gnu-win32 AT susato DOT demon DOT co DOT uk>,
Max Hadley <max AT susato DOT demon DOT co DOT 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 AT cygnus DOT com
http://www.cygnus.com/
- Raw text -