add haiku to unix

This commit is contained in:
avanspector committed 2024-02-25 16:50:04 +01:00
1 parent 2e80879e88
commit dc5cf23066
3 files changed
+10 -2

No files matched your search

+8
View File
@@ -101,3 +101,11 @@ close :: proc(fd: Handle) -> Errno {
}
return ERROR_NONE
}
_alloc_command_line_arguments :: proc() -> []string {
res := make([]string, len(runtime.args__))
for arg, i in runtime.args__ {
res[i] = string(arg)
}
return res
}