For the mode SC_IO_WRITE_CREATE for sc_io_open we unify the behavior in the case with and without MPI IO. Before these changes an existing file was not truncated to the length zero with MPI IO. This differed from the case without MPI IO.
Clarify documentation of sc_io_open.
Fix documentation of count parameter of sc_io wrapper functions.
Make
sc_io_open
independent of MPI IO statusThis PR is a prerequisite to guarantee that the files produced by the code in https://github.com/cburstedde/p4est/pull/212 are independent of the the MPI IO status.
Proposed changes:
SC_IO_WRITE_CREATE
forsc_io_open
we unify the behavior in the case with and without MPI IO. Before these changes an existing file was not truncated to the length zero with MPI IO. This differed from the case without MPI IO.sc_io_open
.count
parameter ofsc_io
wrapper functions.