1#include <stdio.h>
2#include <unistd.h>
3
4int remove(const char* path) {
5 // zircon's unlink(2) works on all filesystem objects, including
6 // directories, so there is no need to check to see whether we
7 // must call rmdir.
8 return unlink(path);
9}
10