root/lib/wait.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. _syscall3

   1 /*
   2  *  linux/lib/wait.c
   3  *
   4  *  (C) 1991  Linus Torvalds
   5  */
   6 
   7 #define __LIBRARY__
   8 #include <unistd.h>
   9 #include <sys/wait.h>
  10 
  11 _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
     /* [previous][next][first][last][top][bottom][index][help] */
  12 
  13 pid_t wait(int * wait_stat)
  14 {
  15         return waitpid(-1,wait_stat,0);
  16 }

/* [previous][next][first][last][top][bottom][index][help] */