M
mortenf
I am in need of a method of writing a byte sequence to a file opened in
text mode without translating <lf> ('\n') to <cr><lf> when compiling
for MSDOS platform. Is there a way of skipping this translation and
write the byte sequence byte by byte to the file?
Alternatively, I could open the file in binary mode, but then I need to
figure out how to write real end lines (<lf>, <cr> or <cr><lf>)
according to the target platform.
Best regards
Morten Frederiksen
text mode without translating <lf> ('\n') to <cr><lf> when compiling
for MSDOS platform. Is there a way of skipping this translation and
write the byte sequence byte by byte to the file?
Alternatively, I could open the file in binary mode, but then I need to
figure out how to write real end lines (<lf>, <cr> or <cr><lf>)
according to the target platform.
Best regards
Morten Frederiksen