2025-04-27 07:49:33 -04:00

18 lines
406 B
Perl

# NOTE: Derived from ..\..\lib\POSIX.pm.
# Changes made here will be lost when autosplit again.
# See AutoSplit.pm.
package POSIX;
#line 734 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto/POSIX/fstat.al)"
sub fstat {
usage "fstat(fd)" if @_ != 1;
local *TMP;
open(TMP, "<&$_[0]"); # Gross.
my @l = CORE::stat(TMP);
close(TMP);
@l;
}
# end of POSIX::fstat
1;