blob: 067622e05c46eac04460799cf986230bef957d2b [file] [log] [blame]
#include <stdio.h>
#include <unistd.h>
int remove(const char* path) {
// magenta's unlink(2) works on all filesystem objects, including
// directories, so there is no need to check to see whether we
// must call rmdir.
return unlink(path);
}