portable binary io, or, solving the byte order problem

Steve Summit stevesu at bronze.UUCP
Fri Oct 7 04:26:39 AEST 1983

hcr!doug has a terriffic idea, if portable binary i/o is really
needed.  I don't like binary i/o, and I prefer to use ascii i/o
whenever I can.  It's far more portable that way, and there are
always times when you want to look at the stuff yourself, which
is a real pain if it's binary.  The only reasons I can see for
using binary i/o would be if you're VERY concerned about file
space, or i/o speed, or if you're interfacing with a program that
you can't change which does it that way.
                                         Steve Summit

More information about the Comp.lang.c mailing list