ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.pm
(Generate patch)

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.227 by root, Tue May 29 03:58:02 2012 UTC vs.
Revision 1.228 by root, Sun Jun 17 17:07:25 2012 UTC

1908ENOSYS, otherwise the return value of C<mprotect>. 1908ENOSYS, otherwise the return value of C<mprotect>.
1909 1909
1910=item IO::AIO::mmap $scalar, $length, $prot, $flags, $fh[, $offset] 1910=item IO::AIO::mmap $scalar, $length, $prot, $flags, $fh[, $offset]
1911 1911
1912Memory-maps a file (or anonymous memory range) and attaches it to the 1912Memory-maps a file (or anonymous memory range) and attaches it to the
1913given C<$scalar>, which will act like a string scalar. 1913given C<$scalar>, which will act like a string scalar. Returns true on
1914success, and false otherwise.
1914 1915
1915The only operations allowed on the scalar are C<substr>/C<vec> that don't 1916The only operations allowed on the scalar are C<substr>/C<vec> that don't
1916change the string length, and most read-only operations such as copying it 1917change the string length, and most read-only operations such as copying it
1917or searching it with regexes and so on. 1918or searching it with regexes and so on.
1918 1919

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines