Initial Windows agent repository
This commit is contained in:
commit
a0db0c2e5b
10589 changed files with 3844063 additions and 0 deletions
30
OGP64/lib/perl5/5.40/x86_64-cygwin-threads/PerlIO/mmap.pm
Normal file
30
OGP64/lib/perl5/5.40/x86_64-cygwin-threads/PerlIO/mmap.pm
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
package PerlIO::mmap;
|
||||
use strict;
|
||||
use warnings;
|
||||
our $VERSION = '0.017';
|
||||
|
||||
use XSLoader;
|
||||
XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION);
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
PerlIO::mmap - Memory mapped IO
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
open my $fh, '<:mmap', $filename;
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
This layer does C<read> and C<write> operations by mmap()ing the file if possible, but falls back to the default behavior if not.
|
||||
|
||||
=head1 IMPLEMENTATION NOTE
|
||||
|
||||
C<PerlIO::mmap> only exists to use XSLoader to load C code that provides support for using memory mapped IO. One does not need to explicitly C<use PerlIO::mmap;>.
|
||||
|
||||
=cut
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue