1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibC: Move waitpid() to sys/wait.h

That's where POSIX says it should be.
This commit is contained in:
Sergey Bugaev 2020-02-03 18:51:48 +03:00 committed by Andreas Kling
parent 4e79a60b78
commit a6e7797a31
6 changed files with 10 additions and 8 deletions

View file

@ -272,12 +272,6 @@ int close(int fd)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
pid_t waitpid(pid_t waitee, int* wstatus, int options)
{
int rc = syscall(SC_waitpid, waitee, wstatus, options);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int lstat(const char* path, struct stat* statbuf)
{
if (!path) {