diff options
Diffstat (limited to 'lib/libc/wait/waitpid.c')
| -rw-r--r-- | lib/libc/wait/waitpid.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/wait/waitpid.c b/lib/libc/wait/waitpid.c new file mode 100644 index 00000000..a5746efc --- /dev/null +++ b/lib/libc/wait/waitpid.c @@ -0,0 +1,7 @@ +#include <sys/wait.h> +#include <syscall.h> + +pid_t waitpid(pid_t pid, int *stat_loc, int options) +{ + return syscall(wait4, pid, stat_loc, options, 0); +} |
