home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl501m.zip / lib / auto / POSIX / waitpid.al < prev   
Text File  |  1995-07-03  |  249b  |  12 lines

  1. # NOTE: Derived from lib/POSIX.pm.  Changes made here will be lost.
  2. package POSIX;
  3.  
  4. sub waitpid {
  5.     usage "waitpid(pid, statusvariable, options)" if @_ != 3;
  6.     local $result = waitpid($_[0], $_[2]);
  7.     $_[1] = $?;
  8.     $result;
  9. }
  10.  
  11. 1;
  12.