libc: Add remove() stub

This commit is contained in:
apio 2022-10-22 12:20:05 +02:00
parent 81c337cf9a
commit 6dc51abfc8
2 changed files with 6 additions and 0 deletions

View File

@ -145,6 +145,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.
#ifdef __cplusplus
}
#endif

View File

@ -43,4 +43,8 @@ extern "C"
if (s && *s) { fprintf(stderr, "%s: ", s); }
fprintf(stderr, "%s\n", strerror(savederr));
}
int remove(const char*)
{
NOT_IMPLEMENTED("remove");
}
}