If path specifies a directory, remove(path) is the equivalent of rmdir(path). Otherwise, it is the equivalent of unlink(path).
I believe using unlink is less portable. -- Software is like sex: it is better when it is free.
If path specifies a directory, remove(path) is the equivalent of rmdir(path). Otherwise, it is the equivalent of unlink(path).
I believe using unlink is less portable. -- Software is like sex: it is better when it is free.