libc: Stub out rename()
This commit is contained in:
parent
0fd31698b2
commit
2cfefc25cc
@ -164,6 +164,7 @@ extern "C"
|
|||||||
void perror(const char* str);
|
void perror(const char* str);
|
||||||
|
|
||||||
int remove(const char* pathname); // Not implemented.
|
int remove(const char* pathname); // Not implemented.
|
||||||
|
int rename(const char* oldpath, const char* newpath); // Not implemented.
|
||||||
|
|
||||||
FILE* tmpfile(void); // Not implemented.
|
FILE* tmpfile(void); // Not implemented.
|
||||||
|
|
||||||
|
@ -64,6 +64,11 @@ extern "C"
|
|||||||
NOT_IMPLEMENTED("fscanf");
|
NOT_IMPLEMENTED("fscanf");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int rename(const char*, const char*)
|
||||||
|
{
|
||||||
|
NOT_IMPLEMENTED("rename");
|
||||||
|
}
|
||||||
|
|
||||||
FILE* tmpfile()
|
FILE* tmpfile()
|
||||||
{
|
{
|
||||||
errno = ENOTSUP;
|
errno = ENOTSUP;
|
||||||
|
Loading…
Reference in New Issue
Block a user