newlib: add rmdir

This commit is contained in:
Giacomo Tesio 2019-11-20 00:31:38 +01:00
parent c1e16cbcd1
commit 915a0a9b9d
1 changed files with 7 additions and 0 deletions

View File

@ -382,3 +382,10 @@ utime(const char *filename, const struct utimbuf *times)
}
return 0;
}
int
rmdir(const char *path)
{
int *errnop = &_REENT->_errno;
return POSIX_rmdir(errnop, path);
}