[PATCH v3 0/4] MR1090: msvcrt: implement missing CRT functions to fix ChessBase 14 crash