Linux vs. libio

Mark Mitchell mark@codesourcery.com
Fri Dec 31 23:54:00 GMT 1999


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

    Mark> Fortunately, the changes are relatively minimal: almost no
    Mark> code -- just a few changes in structure definitions and in a
    Mark> few macros.

Actually, I lied. :-)  That's the conceptual picture -- there are
actually relatively many places where the code will get changed -- but
in a reasonably uniform way.

For example, we currently use the same set of macros (like _IO_XSPUTN)
on both `streambuf *'s and `_IO_FILE *'s.  That doesn't work any more
since the pointer types are not interchangeable.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc mailing list