securityos/public/Users/Public/Sistemas/1º Linux/Linux-0.0.1/lib/wait.c

11 lines
202 B
C

#define __LIBRARY__
#include <unistd.h>
#include <sys/wait.h>
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(int * wait_stat)
{
return waitpid(-1,wait_stat,0);
}