A new file is either opened or created, truncated if necessary, with read/write access. This ensures that an empty file is opened.
See Implementation
A new file is either opened or created, truncated if necessary, with read/write access. This ensures that an empty file is opened.