If you fork() after a vfork() do _both_ children have to exec/exit before the parent resumes? #dontcrossthestreams
The old POSIX spec (before vfork was removed) didn't allow that, and the Linux man page doesn't explicitly do so either. http://man7.org/linux/man-pages/man2/vfork.2.html … Really programs needing this should use posix_spawn, which has most of the advantages and none of the disadvantages of vfork.
-
-
posix_spawn() is so uninteresting my ubuntu 16.04 system hasn't even got a man page for it.
-
The Linux man pages project documents it; your Ubuntu is just badly outdated. http://man7.org/linux/man-pages/man3/posix_spawn.3.html …
-
I'm aware it's online and in posix. I don't care, but I'm aware of it. And 16.04 at work is newer than the one on my netbook. :)
End of conversation
New conversation -
-
-
Linux description paragraph 4: inherits copies of file descriptors, differs only in the treatment of virtual address space.
-
It's quite well defined on Linux, you just don't like it. :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.