From bd153422f28634bb6e53f13f80beb8289d405267 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 30 Sep 2020 13:32:59 -0400 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/unistd.h b/include/unistd.h index 07584a23..13064026 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -82,6 +82,7 @@ unsigned sleep(unsigned); int pause(void); pid_t fork(void); +pid_t _Fork(void); int execve(const char *, char *const [], char *const []); int execv(const char *, char *const []); int execle(const char *, const char *, ...); -- cgit v1.2.1