… | |
… | |
2093 | Like the functions above, but returns all four times in one go (and maybe |
2093 | Like the functions above, but returns all four times in one go (and maybe |
2094 | more in future versions). |
2094 | more in future versions). |
2095 | |
2095 | |
2096 | =item $counter = IO::AIO::st_gen |
2096 | =item $counter = IO::AIO::st_gen |
2097 | |
2097 | |
2098 | Returns the generation counter of the file. This is only available on |
2098 | Returns the generation counter (in practice this is just a random number) |
2099 | platforms which have this member in their C<struct stat> (most BSDs |
2099 | of the file. This is only available on platforms which have this member in |
2100 | at the time of this writing) and generally only to the root usert. If |
2100 | their C<struct stat> (most BSDs at the time of this writing) and generally |
2101 | unsupported, C<0> is returned, but this might change to C<undef> in a |
2101 | only to the root usert. If unsupported, C<0> is returned, but this might |
2102 | future version. |
2102 | change to C<undef> in a future version. |
2103 | |
2103 | |
2104 | =back |
2104 | =back |
2105 | |
2105 | |
2106 | Example: print the high resolution modification time of F</etc>, using |
2106 | Example: print the high resolution modification time of F</etc>, using |
2107 | C<stat>, and C<IO::AIO::aio_stat>. |
2107 | C<stat>, and C<IO::AIO::aio_stat>. |