… | |
… | |
957 | (E.g. rename). This might not work on all operating systems or have any |
957 | (E.g. rename). This might not work on all operating systems or have any |
958 | specific effect, but usually it makes sure that directory changes get |
958 | specific effect, but usually it makes sure that directory changes get |
959 | written to disc. It works for anything that can be opened for read-only, |
959 | written to disc. It works for anything that can be opened for read-only, |
960 | not just directories. |
960 | not just directories. |
961 | |
961 | |
|
|
962 | Future versions of this function might fall back to other methods when |
|
|
963 | C<fsync> on the directory fails (such as calling C<sync>). |
|
|
964 | |
962 | Passes C<0> when everything went ok, and C<-1> on error. |
965 | Passes C<0> when everything went ok, and C<-1> on error. |
963 | |
966 | |
964 | =cut |
967 | =cut |
965 | |
968 | |
966 | sub aio_pathsync($;$) { |
969 | sub aio_pathsync($;$) { |