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.
This commit is contained in:
@@ -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 *, ...);
|
||||
|
||||
Reference in New Issue
Block a user