ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 919 microarchs · 15,488 chips · 105 sources
Arch:
Tier:

darwin:posix_spawn

T1 apple-silicon syscall syscall
macOS / XNU Syscall #244: posix_spawn
SourcemacOS / Darwin XNU BSD Syscall Table (syscalls.master) (apple_xnu_syscalls)
Reliability TierT1 — Official Specification
ISA / Silicon ScopemacOS / Darwin XNU
macOS / iOS / Darwin XNU
License & VersionAPSL-2.0
xnu/main
Upstreamhttps://github.com/apple-oss-distributions/xnu/blob/main/bsd/kern/syscalls.master
Privilegeuser->supervisor
ExtensionsDarwin-XNU, BSD

Summary

Apple Darwin / macOS BSD syscall #244: int posix_spawn(pid_t *pid, const char *path, const struct _posix_spawn_args_desc *adesc, char argv, char envp) NO_SYSCALL_STUB. Invoked via svc #0x80 (ARM64, x16=244) or syscall (x86-64, rax=0x2000000+244).

Syntax / Encoding

/* XNU BSD #244 */
int posix_spawn(pid_t *pid, const char *path, const struct _posix_spawn_args_desc *adesc, char **argv, char **envp) NO_SYSCALL_STUB;