This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: linux libio solution


Joe Buck <jbuck@synopsys.com> writes:
> If you wish to write a portable program, it is possible to mix
> stdin/out/err and cin/out/err but only if you use the sync_with_stdio
> call.

According to the draft standard, sync_with_stdio is initally *on*.
(There is actually some current discussion about what the draft
actually says, but it seems clear that the *intention* is that
synchronization is the default.)

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]