diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-09-30 13:32:59 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-10-14 20:27:12 -0400 |
commit | bd153422f28634bb6e53f13f80beb8289d405267 (patch) | |
tree | 8d977a1d82b3cc2cceece17357bac02add23b8d4 /include | |
parent | e1e98d869c5b3ebf59e0d0006c108daf0368245e (diff) | |
download | musl-bd153422f28634bb6e53f13f80beb8289d405267.tar.gz musl-bd153422f28634bb6e53f13f80beb8289d405267.tar.bz2 musl-bd153422f28634bb6e53f13f80beb8289d405267.tar.xz musl-bd153422f28634bb6e53f13f80beb8289d405267.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 *, ...); |