commit | 6b294d77e26c025af1cef723cf7e4bb7385521ec | [log] [tgz] |
---|---|---|
author | Siva Chandra Reddy <sivachandra@google.com> | Tue Oct 04 06:43:59 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Oct 04 12:18:46 2022 -0700 |
tree | 4ce4920e4944387522d37a6231afcaf20cfcd6eb | |
parent | 3c97ad39620f7cf0d11cff63b0ca7ebe2e40374b [diff] |
[libc] Add a minimal implementation of the POSIX fork function. A very simple and minimal implementation of fork is added. Future changes will add more functionality to satisfy POSIX and Linux requirements. An implementation of wait and a few support macros in sys/wait.h have also been added to help with testing the fork function. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D135131 GitOrigin-RevId: e3638e83db086e77243d0673a4ce8a0b4b330d42