mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-15 15:41:26 -07:00
remove spawn from os, comment sys/posix/spawn
This commit is contained in:
@@ -7,6 +7,14 @@ when ODIN_OS == .Darwin {
|
||||
}
|
||||
|
||||
foreign lib {
|
||||
/*
|
||||
Creates a child process from a provided filepath
|
||||
spawnp searches directories on the path for the file
|
||||
|
||||
Returns: 0 on success, with the child pid returned in the pid argument, or error values on failure.
|
||||
|
||||
[[ More; https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html ]]
|
||||
*/
|
||||
posix_spawn :: proc(pid: ^pid_t, path: cstring, file_actions: rawptr, attrp: rawptr, argv: [^]cstring, envp: [^]cstring) -> Errno ---
|
||||
posix_spawnp :: proc(pid: ^pid_t, file: cstring, file_actions: rawptr, attrp: rawptr, argv: [^]cstring, envp: [^]cstring) -> Errno ---
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user