implement _Fork and refactor fork using it
authorRich Felker <dalias@aerifal.cx>
Wed, 30 Sep 2020 17:32:59 +0000 (13:32 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 15 Oct 2020 00:27:12 +0000 (20:27 -0400)
commitbd153422f28634bb6e53f13f80beb8289d405267
tree8d977a1d82b3cc2cceece17357bac02add23b8d4
parente1e98d869c5b3ebf59e0d0006c108daf0368245e
implement _Fork and refactor fork using it

the _Fork interface is defined for future issue of POSIX as the
outcome of Austin Group issue 62, which drops the AS-safety
requirement for fork, and provides an AS-safe replacement that does
not run the registered atfork handlers.
include/unistd.h
src/process/_Fork.c
src/process/fork.c [new file with mode: 0644]