Re:Learn and use fork(), vfork(), wait() and exec() system c...
by gpderetta on Wednesday October 30, 2019 @04:10PM
(#21402010)
> My understanding is that `fork()` is a nice wrapper around `posix_spawn` .
Not really, you can't implement fork on top of POSIX spawn, but you can do the reverse. On linux they are both implemented on top of a lower lower level primitive (clone).
Not really, you can't implement fork on top of POSIX spawn, but you can do the reverse. On linux they are both implemented on top of a lower lower level primitive (clone).