libc: Stub out rename()

This commit is contained in:
apio 2022-11-03 16:52:41 +01:00
parent 0fd31698b2
commit 2cfefc25cc
2 changed files with 7 additions and 1 deletions

View File

@ -164,6 +164,7 @@ extern "C"
void perror(const char* str);
int remove(const char* pathname); // Not implemented.
int rename(const char* oldpath, const char* newpath); // Not implemented.
FILE* tmpfile(void); // Not implemented.

View File

@ -64,6 +64,11 @@ extern "C"
NOT_IMPLEMENTED("fscanf");
}
int rename(const char*, const char*)
{
NOT_IMPLEMENTED("rename");
}
FILE* tmpfile()
{
errno = ENOTSUP;