This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


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

Re: Linux vs. libio


Jeffrey A Law <law@cygnus.com> writes:

> While I believe it was an unbelievably dumb thing for the glibc folks to
> tie libio into the C library,

In other words, you don't think it is a reasonable goal to allow C
stdio FILEs to be shared with C++ iostream streambufs?  The best way
to synchronize (say) stdout with cout seems to be for them both to use
the same buffer.  The requires (at least if you want efficiency) for
them to use compatible data structures, and thus libio has to be tied
to the C library.  (Note: This is not new to glibc; it has been that
way in Linux for many years.)
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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