home *** CD-ROM | disk | FTP | other *** search
/ Chip: Windows 2000 Professional Resource Kit / W2KPRK.iso / apps / perl / ActivePerl.exe / data.z / fstat.al < prev    next >
Encoding:
Text File  |  1999-10-16  |  406 b   |  18 lines

  1. # NOTE: Derived from ..\..\lib\POSIX.pm.
  2. # Changes made here will be lost when autosplit again.
  3. # See AutoSplit.pm.
  4. package POSIX;
  5.  
  6. #line 734 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto/POSIX/fstat.al)"
  7. sub fstat {
  8.     usage "fstat(fd)" if @_ != 1;
  9.     local *TMP;
  10.     open(TMP, "<&$_[0]");        # Gross.
  11.     my @l = CORE::stat(TMP);
  12.     close(TMP);
  13.     @l;
  14. }
  15.  
  16. # end of POSIX::fstat
  17. 1;
  18.