|
|
stbenge wrote:
> Gah, I'm getting nowhere! I just found out that I hate daniweb. I
> thought the stdio function "rename()" was going to work, but it won't
> save over a file if it already exists.
The documentation I have says:
"If newpath already exists it will be atomically replaced (subject to a few
conditions; see ERRORS below), so that there is no point at which another
process attempting to access newpath will find it missing."
Those "few conditions" were all about moving directories, thus irrelevant in
this case.
Post a reply to this message
|
|