update pthread

This commit is contained in:
avanspector
2024-02-25 18:45:00 +01:00
parent fc8e5b8a61
commit 66456714e1
2 changed files with 75 additions and 0 deletions
+4
View File
@@ -32,6 +32,7 @@ uid_t :: distinct u32
gid_t :: distinct u32
blksize_t :: distinct i32
blkcnt_t :: distinct i64
time_t :: i64
Unix_File_Time :: struct {
@@ -213,6 +214,9 @@ file_size :: proc(fd: Handle) -> (i64, Errno) {
return s.size, ERROR_NONE
}
// "Argv" arguments converted to Odin strings
args := _alloc_command_line_arguments()
_alloc_command_line_arguments :: proc() -> []string {
res := make([]string, len(runtime.args__))
for arg, i in runtime.args__ {