home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / full / activeperl / APi522e.exe / data.z / fstat.al < prev    next >
Encoding:
Text File  |  1999-11-02  |  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.