Fix the bug that the windows implements of op(Write/Read) use the FILE_CURRENT to seek the file pointer, which is not the same with the unix syscall pwrite/pread.
This PR is done by finishing the following tasks:
[x] fix the bug that the windows implements of op(Write/Read)
[x] fix the bug that the test fs_file.rs can not run on the windows platform.
[x] remove the std part in function read in monoio::fs
Fix the bug that the windows implements of op(
Write/Read
) use theFILE_CURRENT
to seek the file pointer, which is not the same with the unix syscallpwrite/pread
.This PR is done by finishing the following tasks:
Write/Read
)fs_file.rs
can not run on the windows platform.std
part in functionread
inmonoio::fs
Other details are shown in the code.