# NOTE: Derived from ../../lib/Storable.pm.
# Changes made here will be lost when autosplit is run again.
#line 243 "../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_store_fd.al)"
# Internal store routine on opened file descriptor
logcroak "not a reference" unless ref($self);
logcroak "too many arguments" unless @_ == 1; # No @foo in arglist
logcroak "not a valid file descriptor" unless defined $fd;
my $da = $@; # Don't mess if called from exception handler
# Call C routine nstore or pstore, depending on network order
eval { $ret = &$xsptr($file, $self) };
logcroak $@ if $@ =~ s/\.?\n$/,/;
local $\; print $file ''; # Autoflush the file if wanted
return $ret ? $ret : undef;
# end of Storable::_store_fd