summaryrefslogblamecommitdiff
path: root/src/process/waitpid.c
blob: ec2757b3b30905310510668c6ed3f2f2d93b3a17 (plain) (tree)
1
2
3
4
5
6
7




                                                  
                                                           
 
#include <sys/wait.h>
#include "syscall.h"

pid_t waitpid(pid_t pid, int *status, int options)
{
	return syscall(SYS_wait4, pid, status, options, 0);
}