Add os.read_at and for Windows; fix mem.clone_slice; fix current directory locking code

This commit is contained in:
gingerBill
2020-09-29 11:11:28 +01:00
parent e95addb1f4
commit 519dcc2b76
3 changed files with 109 additions and 17 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ WSAECONNRESET: Errno : 10054;
// Windows reserves errors >= 1<<29 for application use
ERROR_FILE_IS_PIPE: Errno : 1<<29 + 0;
ERROR_FILE_IS_NOT_DIR: Errno : 1<<29 + 1;
ERROR_NEGATIVE_OFFSET: Errno : 1<<29 + 2;
// "Argv" arguments converted to Odin strings
args := _alloc_command_line_arguments();