home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / lib / perl5 / 5.8.8 / i586-linux-thread-multi / auto / POSIX / fstat.al < prev    next >
Text File  |  2006-11-29  |  390b  |  18 lines

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