[Simh] Slow VMS I/O

Brian Knittel brian at quarterbyte.com
Tue Jul 17 12:26:10 EDT 2007


ah, I hadn't read the follow-up messages.
never mind :)

> #define _O_BINARY 0x8000/* file mode is binary (untranslated) */

Since Windows uses CRLF as the terminator, the stdio library
has text vs. binary modes to be able let C programs read
and write text as if the terminator was LF only, for compatibility.
Messy.

brian



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_| _| _|  Brian Knittel
_| _| _|  Quarterbyte Systems, Inc.
_| _| _|  Tel: 1-510-559-7930
_| _| _|  http://www.quarterbyte.com




More information about the Simh mailing list