mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 03:12:22 -07:00
14 lines
298 B
Odin
14 lines
298 B
Odin
package posix
|
|
|
|
import "core:c"
|
|
|
|
when ODIN_OS == .Darwin {
|
|
foreign import lib "system:System.framework"
|
|
} else {
|
|
foreign import lib "system:c"
|
|
}
|
|
|
|
foreign lib {
|
|
posix_spawn :: proc(pid: ^pid_t, path: cstring, file_actions: rawptr, attrp: rawptr, argv: [^]cstring, envp: [^]cstring) -> c.int ---
|
|
}
|