1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:58:13 +00:00

LibC: Implement wait() as a wrapper around waitpid().

This commit is contained in:
Andreas Kling 2019-05-22 13:21:17 +02:00
parent 4aef87a9a4
commit f490ce0fb5

View file

@ -1,12 +1,12 @@
#include <sys/wait.h>
#include <unistd.h>
#include <assert.h>
extern "C" {
pid_t wait(int* wstatus)
{
(void)wstatus;
ASSERT_NOT_REACHED();
return waitpid(-1, wstatus, 0);
}
}