https://bugs.winehq.org/show_bug.cgi?id=53960
--- Comment #3 from cqwrteur euloanty@live.com --- https://github.com/wine-mirror/wine/blob/master/include/msvcrt/stdio.h
Also
/* file._flag flags */ #define _IOREAD 0x0001 #define _IOWRT 0x0002 #define _IOMYBUF 0x0008 #define _IOEOF 0x0010 #define _IOERR 0x0020 #define _IOSTRG 0x0040 #define _IORW 0x0080
These flags are all different for UCRT. This part must be changed. They are all super wrong.