Problems with TDS and MSDOS Turbo C

Edward Lee edlee at chinet.chi.il.us
Mon Feb 11 09:42:26 AEST 1991


Thanks to the suggestion of Arthur Sybrandy, TDS now operates in
binary mode under MSDOS.  The "setmode(fileno(stream), O_BINARY);"
function is used to set stdin and stdout to binary mode.  This
change only affects the MSDOS executable.  The setmode() function
seems to have the desired affect when TDS is compiled under
Turbo C++ v1.0 but does not have the desired affect under Turbo C
v2.0 .


-Ed L



More information about the Comp.lang.c mailing list