[docs] [issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args
Xiang Zhang
report at bugs.python.org
Mon Feb 12 22:32:56 EST 2018
Xiang Zhang <angwerzx at 126.com> added the comment:
One thing to note is the behaviour seems fit implementation detail. POSIX doesn't requires this for both mmap and msync, it's optional:
The mmap( ) function may fail if:
[EINVAL] The addr argument (if MAP_FIXED was specified) or off is not a multiple of the page size as returned
The msync( ) function may fail if:
[EINVAL] The value of addr is not a multiple of the page size as returned by sysconf( ).
----------
nosy: +berker.peksag, pablogsal, xiang.zhang
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32798>
_______________________________________
More information about the docs
mailing list