1N/A#
1N/A# Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/A
1N/A#
1N/A# File.pm contains wrappers for the exacct file manipulation routines.
1N/A#
1N/A
1N/Arequire 5.8.4;
1N/Ause strict;
1N/Ause warnings;
1N/A
1N/Apackage Sun::Solaris::Exacct::File;
1N/A
1N/Aour $VERSION = '1.3';
1N/Ause XSLoader;
1N/AXSLoader::load(__PACKAGE__, $VERSION);
1N/A
1N/A# @_Constants is set up by the XSUB bootstrap() function.
1N/Aour (@EXPORT_OK, %EXPORT_TAGS, @_Constants);
1N/A@EXPORT_OK = @_Constants;
1N/A%EXPORT_TAGS = (CONSTANTS => \@_Constants, ALL => \@EXPORT_OK);
1N/A
1N/Ause base qw(Exporter);
1N/A
1N/A#
1N/A# Extend the default Exporter::import to do optional inclusion of the
1N/A# Fcntl module.
1N/A#
1N/Asub import
1N/A{
1N/A # Do the normal export processing for this module.
1N/A __PACKAGE__->export_to_level(1, @_);
1N/A
1N/A # Export from Fcntl if the tag is ':ALL'
1N/A if (grep(/^:ALL$/, @_)) {
1N/A require Fcntl;
1N/A Fcntl->export_to_level(1, undef, ':DEFAULT');
1N/A }
1N/A}
1N/A
1N/A1;