This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: setmode (long)

Bernard Dautrevaux wrote:

> Well behaved buffered streams (I don't know for those you use)
> should have an fsetmode() (for stdio)
> or stream::setmode() (for iosteams) call
> that do the setmode in the proper way
> so that you get the expected result.
> *Any* other attempt to hack on the file descriptor
> of an opened buffered stream
> is *guaranteed* to be opened to subtle misbehaviors,
> and (for once :-) Micro$oft is not responsible here...

I'm not sure what you are talking about
or who you are talking to here.
I couldn't find fsetmode() or stream::setmode()
in any of my Cygwin-b20 header files.

E. Robert Tisdale <>

Want to unsubscribe from this list?
Send a message to