wait.c raw

   1  #include <sys/wait.h>
   2  
   3  pid_t wait(int *status)
   4  {
   5  	return waitpid((pid_t)-1, status, 0);
   6  }
   7