mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 22:10:44 +00:00
A program built with the mingw-w64 runtime imports fopen, fclose, fgets and perror, and writes to the stream fopen returns with fprintf, fwrite and fputs. The four did not resolve, and the output functions accepted only stdout and stderr. Adds the four services and file streams for the output functions. The files are the ones on the in-memory C: drive behind CreateFileW, so a file written through a C stream is the file ReadFile reads. Text mode, the default, translates line ends as the fopen documentation describes. Built on the standard streams from #400. Part of Gate A2. Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>