All these systemcalls (except wait(2)) are just facade for clone(2), which has a whole bunch of options.
Basically everything from threads to program invocation is just this one powerful systemcall.
Basically everything from threads to program invocation is just this one powerful systemcall.
> If you use clone() you're on your own.
https://sourceware.org/bugzilla/show_bug.cgi?id=10311
Sometimes it feels like the standard library is holding C back. I wonder how many great Linux-specific features go unused because of it.