mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
LibC: Move waitpid() to sys/wait.h
That's where POSIX says it should be.
This commit is contained in:
parent
4e79a60b78
commit
a6e7797a31
6 changed files with 10 additions and 8 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue