mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
add haiku to unix
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user