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