Windows C library has this bizarro mode for FILE * called "text" mode, which is the default. In this mode, it scans all output, and anywhere it sees a '\n', it replaces it with "\r\n".
Thanks, Steven.
Bastiaan Veelo via Digitalmars-d-learn Tue, 05 Jun 2018 00:01:53 -0700
Windows C library has this bizarro mode for FILE * called "text" mode, which is the default. In this mode, it scans all output, and anywhere it sees a '\n', it replaces it with "\r\n".
Thanks, Steven.