> > I wonder if it would be better to use fwrite instead of write, to
> > avoid mixing stdio and Posix-style output? (It would also avoid an
> > unbuffered write of 1 byte.)

> Good point.  How about the attached?

Looks sensible to me!

        David.

Reply via email to