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