libc: Stub out rename()
This commit is contained in:
parent
0fd31698b2
commit
2cfefc25cc
@ -163,7 +163,8 @@ extern "C"
|
||||
* of the last error encountered during a call to a system or library function. */
|
||||
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.
|
||||
|
||||
|
@ -64,6 +64,11 @@ extern "C"
|
||||
NOT_IMPLEMENTED("fscanf");
|
||||
}
|
||||
|
||||
int rename(const char*, const char*)
|
||||
{
|
||||
NOT_IMPLEMENTED("rename");
|
||||
}
|
||||
|
||||
FILE* tmpfile()
|
||||
{
|
||||
errno = ENOTSUP;
|
||||
|
Loading…
Reference in New Issue
Block a user