On 4/17/24 05:52, yary wrote:
 From unlink's documentation:

If the file to be deleted does not exist, the routine treats it as success.

So trying to delete a file that isn't there, doesn't have an error, which is kind of neat, but that is a difference from native delete.

-y

Hi Yary,

Not to beat a dead horse, but when does that stop me!
<maniacal laughter>

In Windows, if the filename/path exceeds 260 characters
(MAX_PATH), unlink will think that the file does not
exist and will let you blissfully think it has been removed,
when in reality, it is still there.

-T

Reply via email to