ISO/IEC 9899: 1990 7.9.4.1 The remove function ... Description The remove function causes the file whose name is the string pointed to by filename to be no longer accessible by that name. A subsequent attemp to open that file using that name will fail, unless it is created anew. If the file is open, the behaviour of the remove function is implementation-defined.
"Mike Nordell" <[EMAIL PROTECTED]>@abisource.com on 14/10/2001 21:03:56 Sent by: [EMAIL PROTECTED] To: "AbiWord-dev" <[EMAIL PROTECTED]> cc: Subject: Re: Win32 build fix - UT_unlink Aaron Lehmann wrote: > remove has slightly different behavior than unlink > > remove deletes a name from the filesystem. It calls > unlink for files, and rmdir for directories. Well I be... :-) This is clearly a place where MS and *nix don't play along too well. MS documentation states remove() is only used for files while *nix docs state it's to remove both files and dirs. A obviously trust the *nix docs more, but do we have anyone anyone here that has access to the (pre 99) ANSI C standard? Could it be that the standard only says "filesystem entry" or something like that? /Mike - please don't cc
