LibC: Implement wait()

This is a simple convenience wrapper over waitpid().
This commit is contained in:
Sergey Bugaev 2019-08-17 12:21:54 +03:00 committed by Andreas Kling
commit bec646c0bb
Notes: sideshowbarker 2024-07-19 12:39:12 +09:00
2 changed files with 6 additions and 0 deletions

View file

@ -66,6 +66,7 @@ ssize_t read(int fd, void* buf, size_t count);
ssize_t write(int fd, const void* buf, size_t count);
int close(int fd);
pid_t waitpid(pid_t, int* wstatus, int options);
pid_t wait(int* wstatus);
int chdir(const char* path);
char* getcwd(char* buffer, size_t size);
char* getwd(char* buffer);