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.255 by root, Thu Jun 25 15:20:11 2015 UTC vs.
Revision 1.256 by root, Thu Jun 25 15:47:01 2015 UTC

2057filesize. 2057filesize.
2058 2058
2059C<$prot> is a combination of C<IO::AIO::PROT_NONE>, C<IO::AIO::PROT_EXEC>, 2059C<$prot> is a combination of C<IO::AIO::PROT_NONE>, C<IO::AIO::PROT_EXEC>,
2060C<IO::AIO::PROT_READ> and/or C<IO::AIO::PROT_WRITE>, 2060C<IO::AIO::PROT_READ> and/or C<IO::AIO::PROT_WRITE>,
2061 2061
2062C<$flags> can be a combination of C<IO::AIO::MAP_SHARED> or 2062C<$flags> can be a combination of
2063C<IO::AIO::MAP_PRIVATE>, or a number of system-specific flags (when 2063C<IO::AIO::MAP_SHARED> or
2064not available, the are defined as 0): C<IO::AIO::MAP_ANONYMOUS> 2064C<IO::AIO::MAP_PRIVATE>,
2065or a number of system-specific flags (when not available, the are C<0>):
2065(which is set to C<MAP_ANON> if your system only provides this 2066C<IO::AIO::MAP_ANONYMOUS> (which is set to C<MAP_ANON> if your system only provides this constant),
2066constant), C<IO::AIO::MAP_HUGETLB>, C<IO::AIO::MAP_LOCKED>, 2067C<IO::AIO::MAP_HUGETLB>,
2067C<IO::AIO::MAP_NORESERVE>, C<IO::AIO::MAP_POPULATE> or 2068C<IO::AIO::MAP_LOCKED>,
2069C<IO::AIO::MAP_NORESERVE>,
2070C<IO::AIO::MAP_POPULATE>,
2068C<IO::AIO::MAP_NONBLOCK> 2071C<IO::AIO::MAP_NONBLOCK>,
2072C<IO::AIO::MAP_FIXED>,
2073C<IO::AIO::MAP_GROWSDOWN>,
2074C<IO::AIO::MAP_32BIT>,
2075C<IO::AIO::MAP_HUGETLB> or
2076C<IO::AIO::MAP_STACK>.
2069 2077
2070If C<$fh> is C<undef>, then a file descriptor of C<-1> is passed. 2078If C<$fh> is C<undef>, then a file descriptor of C<-1> is passed.
2071 2079
2072C<$offset> is the offset from the start of the file - it generally must be 2080C<$offset> is the offset from the start of the file - it generally must be
2073a multiple of C<IO::AIO::PAGESIZE> and defaults to C<0>. 2081a multiple of C<IO::AIO::PAGESIZE> and defaults to C<0>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines