"...O_CREATE will create the file. If the file exists, the call succeeds
(return >= 0) but its data contents is not affected."
So yes, Open(.., O_CREATE) succeeds, but the contents of the file is not
affected.
Iulian
Post by David MarcinDoes the flag O_CREATE have no effect if the file to be opened already
exists?