LibC: add wait and waitpid

Note that wait() doesn't work since only waiting for specified
pid is supported. wait() will just return -1 and set errno to
ECHILD.
This commit is contained in:
2023-06-04 17:59:13 +03:00
parent b68d5a5833
commit cbb9f47ee5
5 changed files with 26 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ set(LIBC_SOURCES
stdio.cpp
stdlib.cpp
string.cpp
sys/wait.cpp
termios.cpp
unistd.cpp
math.S